What will be output if you will compile and execute the following c code?

What will be output if you will compile and execute the following c code?

What will be output if you will compile and execute the following c code?

voidmain(){

 int i=4,x;

 x=++i + ++i + ++i;

 printf(“%d”,x);

}

(A) 21
(B) 18
(C) 12
(D) Compiler error
(E) None of above

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper