Jeśli tablica jest pusta c

Przykłady kodu

0
0

c sprawdź, czy jest pusty czy tablica

//there is no "empty" in C. There is always a fixed number of elements with some value.
//However, you can implement it yourself by initializing each element to NULL
char* results[10] = { NULL };
/* some code */
if(results[i] == null) /* this is an empty element */

Podobne strony

Podobne strony do przykłady

W innych językach

Ta strona jest w innych językach

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................