A
Q. What will be the output of the following C code?
Code:
#include <stdio.h>
int main()
{
float x = 23.456;
printf("%.2f",x);
return 0;
}
int main()
{
float x = 23.456;
printf("%.2f",x);
return 0;
}
- Correct Answer - Option(D)
- Views: 22
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.