Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2019
Questions

Q24

NAT1 markProgrammingEasy

Consider the following C program:

#include <stdio.h>
int main() {
    int arr[]={1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 5}, *ip=arr+4;
    printf("%d\n", ip[1]);
    return 0;
}

The number that will be displayed on execution of the program is _______

Sign in to save attempts.

Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.