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
Другие символы. NUL. Null. (No character- нет данных). Используется для передачи в случае отсутствия данных.
When using strcat() to combine two strings, are both null characters preserved? Or is one of them lost, so that only one null character exists at the end of the new, larger string? Thanks in advance for your time and patience in answering this...
> 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.
dropdb test 2> /dev/NULL.
Is there a way to set a char variable to 0 or null or something so that it will basically reset my control variable.
strung=NULL; /* functions used to make up for my diminished.
mysql> use spiel0 Database changed mysql> create table umlauttest (ID bigint(20) not null auto_increment primary key, term varchar(255)); Query OK, 0 rows affected (0.01 sec). mysql> insert into umlauttest values (1, 'Vögel'); Query OK, 1 row affected, 1 warning (0.00 sec).
У NULL слишком важное значение в теории баз данных чтобы его заменить на пустое значение.