+ 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
2 ответов
+ 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