How to check whether an array is empty in C language

www.l‮iruttua‬.com
How to check whether an array is empty in C language

In C, We can only set it to a certain value (e.g. null) to represent null,

char* arr[10] = { NULL };
if(arr[i] == null)
Created Time:2017-08-28 09:01:24  Author:lautturi