A

Admin • 833K Points
Coach

Q. What will be output for the following code?

Code:
#include <stdio.h>
int main()
{
double a = 5 % 3 & 4 + 5 * 6;
printf(""%lf"", a);

}
  • (A) 2
  • (B) 30
  • (C) 2.000000
  • (D) Run-time error
  • Correct Answer - Option(C)
  • Views: 23
  • Filed under category C Programming
  • Hashtags:

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.