Computer Sciences > Gate 2019 > Array Pointer
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("%dn", ip[1]);
   return 0;
}


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

Correct : a

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......