Home / MCQ Bank / Computer
Computer Structure And Union Difficulty: Medium

What will be the output of the following C code? #include <stdio.h> int (*(x()))[2]; typedef int (*(*ptr)())[2] ptrfoo; int main() { ptrfoo ptr1; ptr1 = x; ptr1(); return 0; } int (*(x()))[2] { int (*ary)[2] = malloc(sizeof*ary); return &ary; }

Select the correct option to test your answer:

More Computer Questions

Can variable i be accessed by functions in another source file? #include <stdio.h> int i; int main() { printf("%d\n", i); } Which of the following is always a part of E-mail address? Getting data from a cell located in a different sheet is called ________ What does the `protected` keyword do in Ruby? Of the following given options, which one of the following is a correct option that provides an optimal solution for 4-queens problem?