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