0

#include <stdio.h> #define prod(i,j) i*j int main() { int x=3,y=4; printf(" %d \n",prod(x+1,y)); } output :7

Why does this give 7 as output??

21st Nov 2019, 6:03 PM
mohamed Issati
mohamed  Issati - avatar
2 Respostas
+ 3
3+1*4 what's the answer???
21st Nov 2019, 6:05 PM
✳AsterisK✳
✳AsterisK✳ - avatar
0
Ah ok it is about precedence Thank you ❤❤
21st Nov 2019, 6:08 PM
mohamed Issati
mohamed  Issati - avatar