

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following code segment? main( ) { char s[10]; strcpy(s, “abc”); printf(“%d %d”, strlen(s), sizeof(s)); } |
A. | 3 10 |
B. | 3 3 |
C. | 10 3 |
D. | 10 10 |
Answer» B. 3 3 | |