Другие символы. NUL. Null. (No character- нет данных). Используется для передачи в случае отсутствия данных.
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
Регистрация: 13.10.2016. Сообщений: 33. 1. Ошибка char-array initialized from wide string.
> 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.
У NULL слишком важное значение в теории баз данных чтобы его заменить на пустое значение.
char x = '0'; int y = '0'; char z = 48
Is there a way to set a char variable to 0 or null or something so that it will basically reset my control variable.
let say I have, char test[20]; can I do like this : *test = NULL; Where did you get that? Certainely not from a good C-book. 'test' being an array, it's a constant