Consider the following C program.
The output of the program is ________.
c
Programming in CPointers, Multi-Dimensional Arrays, StructuresNAT2 marksHard
1# include <stdio.h>
2# include <string.h>
3int main( )
4{
5 char* c = "GATECSIT2017";
6 char* p = c;
7 printf("%d", (int) strlen (c+2[p] - 6[p]-1));
8 return 0;
9}
10A GATE question every morning
One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.