R

Ram Sharma • 193.88K Points
Coach

Q. What is the output of the C Program?

Code:
int main()
{
float a=10.0;
a = (int)a % 3;
printf("%f", a);

return 0;
}
  • (A) 0
  • (B) 1
  • (C) 1.000000
  • (D) Compiler Error.

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics