Другие символы. NUL. Null. (No character- нет данных). Используется для передачи в случае отсутствия данных.
Хоть char и относится к integer (и, таким образом, следует всем их правилам), работа с char несколько отличается, чем с обычными целочисленными типами. Переменная этого типа занимает 1 байт.
I have a char that is given from fgets, and I would like to know how I can convert it into a char*. I am sure this has been posted before, but I couldn't find one that was doing quite what I wanted to do.
Do excuse me to the basic"ness" of this question. I am at a loss with pointers at times. I have a char * but I need to convert it to a char * const * to be able to correctly use it in the fts() function.
username = (char *) malloc=(sizeof(char) * strlen("ted")); strcpy(username, "ted"); username = NULL
char x = '0'; int y = '0'; char z = 48
...convert parameter 1 from 'char' to 'const char *' Error 4 error C2731: 'WinMain' : function cannot be overloaded Error 5 error C2065: 'argv' : undeclared identifier 6 IntelliSense: argument of type "char *".
У NULL слишком важное значение в теории баз данных чтобы его заменить на пустое значение.