Functions
- What will be the output of the following C code?
#include <stdio.h>
void main()
{
char *str[3][3] = {{"Welcome", "to", "the"}, {"Interview", "Mania", "and"}
, {"Enjoy", "C", "code"}};
printf("%s", str[2][2]);
}
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
code
- What will be the output of the following C code?
#include <stdio.h>
void main()
{
int look_up[100] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
printf("%d", look_up[6]);
}
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
16