1.

For the following typedef in C, pick the best statement typedef int INT, *INTPTR, ONEDARR[10], TWODARR[10][10];

A. It will cause compile error because typedef is being used to define multiple aliases of incompatible types in the same statement.
B. INT x would define x of type int. Remaining part of the statement would be ignored.
C. INT x would define x of type int and INTPTR y would define pointer y of type int *. Remaining part of the statement would be ignored.
D. INT x would define x of type int. INTPTR *y would define pointer y of type int **. ONEDARR z would define z as array of 10 int. TWODARR t would define t as array of 10 by 10 int.
Answer» E.


Discussion

No Comment Found

Related MCQs