Q176
What will be the output of the following C code? #include int main() char *str = "hello world"; char strary[] = "hello world"; printf("%d %d ", strlen(str), strlen(strary)); return 0;
A.
11 11
AnswerB.
12 11
C.
11 12
D.
x 11 where x can be any positive integer.
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board