R

Rudra Pratap Singh • 3.39K Points
Extraordinary

Q. What is the value of “y” in this code?

Code:
#include <stdio.h>

void main()
{
   int y = 5.3 % 2;
   printf("The value of y is %d", y);
}
  • (A) The value of y is 0,3
  • (B) The value of y is 1
  • (C) The value of y is 2,3
  • (D) Compilation 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