Вопросы по теме 'const-char'
Strtol, strtod небезопасны?
Кажется, что strtol() и strtod() эффективно позволяют (и заставляют) отказаться от константности в строке:
#include <stdlib.h>
#include <stdio.h>
int main() {
const char *foo = "Hello, world!";
char *bar;
strtol(foo,...
5536 просмотров
schedule
06.10.2023