Explain this program..... Stepwise | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Explain this program..... Stepwise

c language #include<stdio.h> main() { int a=4; printf("%d%d%d",a, a++,++a); getch(); }

25th Nov 2017, 3:52 AM
ą¤‰ą¤¤ą„ą¤•ą¤°ą„ą¤· ą¤¤ą„ą¤°ą¤æą¤Ŗą¤¾ą¤ ą„€
ą¤‰ą¤¤ą„ą¤•ą¤°ą„ą¤· ą¤¤ą„ą¤°ą¤æą¤Ŗą¤¾ą¤ ą„€ - avatar
1 Resposta
+ 1
OUTPUT=445 Explanation:- a: It's print the value stored in a. a++: It's print the value first then increase the value of a by 1.(Postfix Increment operator) ++a: It's increase the value of a by 1 then print.(Prefix Increment operator)
25th Nov 2017, 4:19 AM
Faisal Rahman
Faisal Rahman - avatar