T
terry
Hi,
Could anyone tell me how to determine the size of array of characters
dynamically? For example,
:
:
char *a[]={"hello","hi","kitty"};
char *b[]={"orange","apple"};
void main()
{
char **p=a;
:
:
}
I want to get array size of "a" which is 3 by "p". How?
Thanks!
Could anyone tell me how to determine the size of array of characters
dynamically? For example,
:
:
char *a[]={"hello","hi","kitty"};
char *b[]={"orange","apple"};
void main()
{
char **p=a;
:
:
}
I want to get array size of "a" which is 3 by "p". How?
Thanks!