

MCQOPTIONS
Saved Bookmarks
1. |
If the size of pointer is 32 bits What will be the output of the program ?_x000D_ #include_x000D_ _x000D_ int main()_x000D_ {_x000D_ char a[] = "Visual C++";_x000D_ char *b = "Visual C++";_x000D_ printf("%d, %d\n", sizeof(a), sizeof(b));_x000D_ printf("%d, %d", sizeof(*a), sizeof(*b));_x000D_ return 0;_x000D_ } |
A. | 10, 22, 2 |
B. | 10, 41, 2 |
C. | 11, 41, 1 |
D. | 12, 22, 2 |
Answer» D. 12, 22, 2 | |