B Bích Hạnh Member Sep 21, 2021 #1 What will be the output of the following C code? Code: #include <stdio.h> #include <math.h> void main() { int k = sqrt(-4); printf("%d\n", k); } A. -2 B. 2 C. Compile time error D. NaN
What will be the output of the following C code? Code: #include <stdio.h> #include <math.h> void main() { int k = sqrt(-4); printf("%d\n", k); } A. -2 B. 2 C. Compile time error D. NaN