+ 2
How to initialize 5 strings of 3 characters ? don't want to declare 5 strings but one ?
3 Réponses
+ 15
sth like that?
char** str = new char*[5];
for (int i =0; i<5; i++)
str[i] = new char[3];
0
we use ...=new. . in C langage 😯
0
This allows Dynamic Allocation of space @zineb