All pastes #509930 Raw Edit

Something

public text v1 · immutable
·published 2007-05-25 18:22 UTC
rendered paste body
#define MULT_GOOD(x) ( (x) *  5 )
#define MULT_BAD(x) ( x *  5 )

int a = 2;
int b = 10;

int result1 = MULT_GOOD(a + b)
int result2 = MULT_BAD(a + b)

------------------------------------

int result1 = ((a + b) * 5)
int result2 = (a + b * 5)