engineering recuitment GATE CSE 2023-24 Test Series Programming and Data Structure Programming in C Pointer
Consider the following C program:
#include
int main()
{
char nums[ ] = {'d','c','b','a','e','f','g','h','i','j','k','z'};
char *p = nums + 5;
printf ("%d\n", 4[p]);
return 0;
}
What is the output of the above code?
Hint:
ASCII code of a is 97
Enter numerical value using the virtual keypad. Round off where necessary.