0

Sir please tell me how it was functioning.......what way the compiler is understanding..... Plz sir..... Tell me

https://code.sololearn.com/c7ZetlUCLxlT/?ref=app

9th Apr 2020, 4:32 PM
Siva Prasad Pothala
Siva Prasad Pothala - avatar
2 Respostas
+ 2
I think #define sqr(i) i*i So for sqr(3+1) It is 3 + 1 * 3 + 1 == 3 + 3 + 1 == 7 If you put a bracket as sqr((3+1)) it will be (3+1) * (3+1) == 4 * 4 which is 16
9th Apr 2020, 4:48 PM
Utkarsh Sharma
Utkarsh Sharma - avatar
0
Tq Broo....
14th Apr 2020, 3:53 AM
Siva Prasad Pothala
Siva Prasad Pothala - avatar