1000,
char array[1000];
But in the program i stored only 20 values..
Can i get the length of this array without using loop???
I tried sizeof(array)/ sizeof(array[0])
But it is giving 1000 the declared length.........
even i tried this yesterday and wanted to ask same doubt
how did you stored the value
as far as i know there is no other way
you can use strlen() from string.h
Yes yes... I forgot this one...
I love you bro
Обсуждают сегодня