1.

Assume integer is 2 bytes wide. How many bytes will be allocated for the following code?_x000D_ #include_x000D_ #include_x000D_ #define MAXROW 3_x000D_ #define MAXCOL 4_x000D_ _x000D_ int main()_x000D_ {_x000D_ int (*p)[MAXCOL];_x000D_ p = (int (*) [MAXCOL])malloc(MAXROW *sizeof(*p));_x000D_ return 0;_x000D_ }

A. 56 bytes
B. 128 bytes
C. 24 bytes
D. 12 bytes
Answer» D. 12 bytes


Discussion

No Comment Found