Hello,

Just a quick question, already googled etc..

If I have a pointer array lets say:

Code:
char * fruit[] = {"apple", "pear", "orange", "grape", "banana"};
Its just the program I am witting uses a pointer array which can change in size and I need to know how many variables are inside the array after it has changed size. For example there is 5 fruits in the above array.

I don't want to declare the array as a set length.

Thanks