Click to See Complete Forum and Search --> : array of array pointers


LZFY
March 29th, 2005, 12:25 PM
How can I define an array so I can initialize it as following:

a[]=
{
{"aaa", "bb"},
{"Cccc"},
{"d", "eee", "fffff"},
}

The size of inner array is unknown.

Thanks

Graham
March 29th, 2005, 01:25 PM
Excuse me if I'm wrong here, but this sounds like a homework question. We don't do homework unless you show that you've at least attempted an answer. What do you think the full declaration might be?