R

Ram Sharma • 193.86K Points
Coach

Q. What is the output of the C Program?

Code:
int main()
{
    int a= 3 + 5/2;
    printf("%d", a);

    return 0;
}
  • (A) 3
  • (B) 2
  • (C) 5
  • (D) Can not assign an expression to variable at the time of declaration.

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