Другие символы. 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
> 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.
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
У NULL слишком важное значение в теории баз данных чтобы его заменить на пустое значение.
Ken Sanchez NULL * Terri Duffy NULL * Roberto Tamburello NULL * Rob Walters NULL * Gail Erickson Ms. * (5 row(s) affected). When you convert data types that differ in decimal places, SQL Server will sometimes return a truncated result value, and at other times it will return a rounded value.
Is there a way to set a char variable to 0 or null or something so that it will basically reset my control variable.
char * strncpy ( char * destination, const char * source, size_t num ); Copies from source to destination, up to a
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.