如果阵列的空c

代码示例

0
0

c查看如果列是空的

//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 */

其他语言

此页面有其他语言版本

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