C-Programming-data-structure || 2017 SET 2 || NAT || 2-mark || Module 1: C Programming

Last Updated :
Discuss
Comments

Consider the following C program.

C
#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

Share your thoughts in the comments