Другие символы. 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.
I was just trying to see how to check for the null terminating character in the char * array but I failed. I can find the length using the for loop procedure
> char array[SIZE] = {0}; Nothing wrong with this. It just assumes that the remaining SIZE-1 elements are also zero, so that's it, job done.
1. Putting char into a java string for each N characters stackoverflow.com. I have a java string, which has a variable length.
char * store=NULL; strcat(store," "); strcat(store,oneatatime); which is awful.
У NULL слишком важное значение в теории баз данных чтобы его заменить на пустое значение.