+ 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 Antwort
+ 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