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.
Другие символы. NUL. Null. (No character- нет данных). Используется для передачи в случае отсутствия данных.
username = (char *) malloc=(sizeof(char) * strlen("ted")); strcpy(username, "ted"); username = NULL
char x = '0'; int y = '0'; char z = 48
У NULL слишком важное значение в теории баз данных чтобы его заменить на пустое значение.
1. Putting char into a java string for each N characters stackoverflow.com. I have a java string, which has a variable length.
C-string (null-terminated char array) can be declared as char* or char[]. This is because C treats an array name as a pointer to the first element of the array.