1.

What will be the output of the program?_x000D_ #include_x000D_ #include_x000D_ _x000D_ int main()_x000D_ {_x000D_ char *i = "55.555";_x000D_ int result1 = 10;_x000D_ float result2 = 11.111;_x000D_ result1 = result1+atoi(i);_x000D_ result2 = result2+atof(i);_x000D_ printf("%d, %f", result1, result2);_x000D_ return 0;_x000D_ }

A. 55, 55.555
B. 66, 66.666600
C. 65, 66.666000
D. 55, 55
Answer» D. 55, 55


Discussion

No Comment Found