I was thinking to create something like
Is it possible to do it in array type?Code:a = { {"a1", "a2"}, {"b1", "b2", "b3"} }
Could someone give me some hint how can I acheive this?
Printable View
I was thinking to create something like
Is it possible to do it in array type?Code:a = { {"a1", "a2"}, {"b1", "b2", "b3"} }
Could someone give me some hint how can I acheive this?
You can't assign arrays, but you can initialise them
Code:int main( ) {
char a[2][3][3] = { {"a1", "a2"}, {"b1", "b2", "b3"} };
char *b[2][3] = { {"a1", "a2"}, {"b1", "b2", "b3"} };
return 0;
}
thank you again.