+ 1

Code #define Ambiguity

Can anyone explain the output and what is happening?? https://code.sololearn.com/cE8FO31rKF6Q/?ref=app

31st May 2018, 1:12 PM
Amit Kumar
Amit Kumar - avatar
3 odpowiedzi
+ 8
#define c 4+2 mean when you use c on code c=4+2 define as i=c*c*c; i=4+2*4+2*4+2 i=4+8+8+2 i=22 hope you understand
31st May 2018, 1:19 PM
Scooby
Scooby - avatar
+ 2
31st May 2018, 2:00 PM
Amit Kumar
Amit Kumar - avatar