1.

Output of following program?#include<stdio.h>int main(){int a[] = {1, 2, 3, 4, 5, 6};int *ptr = (int*)(&a+1);printf("%d ", *(ptr-1) );return 0;}(A) 1(B) 2(C) 6(D) Runtime Error

Answer»


Discussion

No Comment Found

Related InterviewSolutions