How many elements in string array : I want to find how many names in `names` array.I know `sizeof(names)/sizeof(names[0])` give the right answer. But the problem is i can't just decleare `char *names[];`. Because compiler gives me an error like this ***"Storage of names is unknown"***. To avoid this error, i must decleare like this `char *names[] = {"somename", "somename2"};`. But the thing is i cannot assign the strings right after decleration. I assign strings after some conditions and my problem is how many strings i have after that conditions.