+ 6

I am confused about the define ...I am overbroad!!

The question is that why the answer is 10,not 15,I think 3*5=15,I am stuck ..in that question.. https://code.sololearn.com/ctY12No470ci/?ref=app

11th Feb 2019, 8:45 PM
Jesscar🇨🇳🇭🇰
Jesscar🇨🇳🇭🇰 - avatar
8 ответов
+ 9
#define poj(i,j) i*j i = 3+2 j = 4-1 i*j => 3+2*4-1 = 10 #define poj(i,j) (i)*(j) (i)*(j) => (3+2)*(4-1) = 15
11th Feb 2019, 8:54 PM
Anna
Anna - avatar
+ 3
Thanks a lot!!!!
11th Feb 2019, 9:53 PM
Jesscar🇨🇳🇭🇰
Jesscar🇨🇳🇭🇰 - avatar
+ 3
define的函数式直接运算,不会算好值再带入进去。(。・ω・。)ノ♡ Please in English
2nd Mar 2019, 10:14 PM
UraL
+ 1
Please in English Мой английский очень плохой.
3rd Mar 2019, 2:44 AM
Nature_of_code
Nature_of_code - avatar
+ 1
English bad but Russian good?
2nd Apr 2019, 9:15 PM
UraL
0
It is easy
15th Feb 2019, 6:53 PM
UraL
0
define的函数式直接运算,不会算好值再带入进去。(。・ω・。)ノ♡
1st Mar 2019, 4:14 PM
Nature_of_code
Nature_of_code - avatar
- 1
daLao ,can man make a friend?
15th Feb 2019, 4:34 PM
yxdw