GATE EXAM


GATE | GATE-CS-2017 (Set 2) | Question 53

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 _________.

[Note: It was Numerical Answer Type Question.]

Solution: Click here

Comments

Post a Comment

Popular posts from this blog

B.Tech. Computer Science and Engineering Notes - Semester 8

B.Tech. Computer Science and Engineering Notes - 3rd Year

Gate Exam Solutions