Vidyalelo
C Programming · Q263

File Input Output

Programming · C Programming · question 263

Q263

What will be the output of the following C code? #include int main() char *str = "hello, world "; printf("%d", strlen(str));

A.
Compilation error
B.
Undefined behaviour
C.
13
Answer
D.
11

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board