GATEverse Practice, past papers & mock tests
GATE 2011
Programming & Data StructuresArrayseasyMCQ1 mark
What does the following fragment of C-program print?
c
char c[] = "GATE2011";
char *p = c;
printf("%s", p + p[3] - p[1]);
Save your progress

Related Programming & Data Structures PYQs