While studying for a test I stumbled upon this question but I couldn't find an answer.
char * c1[2][3] = {"question", "number", "'4'", "good", "luck", "!!!"};
printf("%s\n", *c1[0]+5);
printf("%c\n", *(c1[1][2]+2));
printf("%c\n", **c1[1]);
"What is the output?"
My answer is:
ion
!
g
is that correct?
Aucun commentaire:
Enregistrer un commentaire