Vidyalelo
C Programming · Q152

File Input Output

Programming · C Programming · question 152

Q152

What will be the output of the following C code? #include #include void main() int k = sqrt(-4); printf("%d ", k);

A.
-2
B.
2
C.
Compile time error
D.
NaN
Answer

Answer: Option D

Solution

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