Programming Languages C Objective
Mar 08, 2013

What will be output of the following c code?

void main()
{
 float f=6.5f;
 float x;
 x=f%2;
 printf("%f",x);
}

Choose the correct answer:
A) 6.500000
B) 1.600000
C) 1.000000
D) Compiler error
Detailed Explanation

No Explanation

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback