is there a way to know num of elements in a char* array?
my code is :
char* inputOptions[]={
NULL,
"first sentence",
"second sentence"}
for(int j=0;j<3;j++)
cout<<inputOptions[j]<<endl;
and I would like to change '3' to some expression that depends on 'arr'. Is there a way to do so?