R

Ram Sharma • 193.86K Points
Coach

Q. What is the output of C Program?

Code:
int main()
{
    int a=10, b, c;
    b=a++;
    c=++a;
    printf("%d %d %d", a, b, c);

    return 0;
}
  • (A) 10 11 12
  • (B) 12 10 12
  • (C) 12 11 12
  • (D) 12 12 12

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.