C - Operators - Discussion

You Are Here :: Home > C > Operators - Discussion

 



Q.

What will be output of the following program?

#include
int main(){
int i=1;
i=2+2*i++;
printf("%d",i);
return 0;
}

A. 2 B. 4
C. 5 D. 6

Answer: Option C
Explaination:

 


No Explanation



Discussion

Your Comments Goes here...
NameDiscussion