Consider the following C program. #include<stdio.h> #include<string.h> int…

PYQ GATE 2017

Consider the following C program.

#include<stdio.h> #include<string.h> int main() { char* c="GATECSIT2017"; char* p=c; printf("%d", (int)strlen(c+2[p]-6[p]-1)); return 0; }

The output of the program is _______

Attempted by 208 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…