GATE Computer Science (CS) 2017 Shift 2 Solved Paper
© examsiri.com
Question : 65 of 65
Marks:
+1,
-0
Consider the following C Program.
The output of the program is ______.
#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 ______.
- Your Answer:
Go to Question: