

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following C code (considering sizeof char is 1 and pointer is 4)?#include <stdio.h> int main() { char *ch[2] = {"Manjesh", "Ojha"}; printf("%d", sizeof(ch)); return 0; } |
A. | 1 |
B. | 2 |
C. | 3 |
D. | 4 |
E. | Depends on compiler |
Answer» F. | |