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 _________ . GATE || 2017 SET 2 || NAT || 2-mark
2
This question is part of this quiz :
GATE|| C Programming & Data Structure || Pyqs (2010 to 2025 ),GATE || C Programming || PYQS (2010 to 2025)