I have defined a char array:
char d[6];
Correct me if I\'m wrong regarding following:
At this moment no memory is allocated for variabl
How to know was char[] initialized? I need pattern if filled(d){..}
Just do this while declaring the character array:
char d[6]; d[0] = 0;
Then you can check like this:
if(strlen(d) == 0) //d is not initialized