1

float a=5, b=2;
int c;
c=a%b;
System.out.println(c);

What is the output of the above program?

  • A

    2

  • B

    3

  • C

    1

  • D

    compilation error