GATEverse Practice, past papers & mock tests
GATE 2017 · CS2 - Afternoon
Programming & Data StructuresProgrammingmediumNAT2 marks
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 _______
Save your progress

Related Programming & Data Structures PYQs