Home / Programming MCQs / C Programming MCQs / Question

R

Ram Sharma • 188.81K Points
Coach

Q. What is the output of this program?

Code:
#include <stdio.h>
int main()
{
    int i;
    i = 1, 2, 3;     
    printf("%d", i);
    return 0;
}
(A) 1
(B) 2
(C) 3
(D) Invalid Syntax

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.