Vidyalelo
C Programming · Q78

Operators and Expressions

Programming · C Programming · question 78

Q78

What will be the output of the following C code? #include printf("%d", sizeof(strlen("HELLOWORLD")));

A.
Output, 4
Answer
B.
Output, 10
C.
Output, 16
D.
Error, sizeof cannot evaluate size of a function

Answer: Option A

Solution

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