1.

What will be the output of the following C code?#include <stdio.h> int (*(a()))[2]; typedef int (*(*p)())[2] ptrfun; int main() { ptrfun p1; p1 = a; p1(); return 0; } int (*(a()))[2] { int (*array)[2] = malloc(sizeof*array); return &array; }

A. Nothing
B. Undefined behaviour
C. Compilation Error
D. Garbage value
E. None of these
Answer» D. Garbage value


Discussion

No Comment Found