what's the difference# Programming - 葵花宝典
l*n
1 楼
Is there a difference between the "if" tests shown below? If so, explain
why one might be preferred over the other.
if (*p == MAX_VALUE) return -1;
if (MAX_VALUE == *p) return -1;
thanks
why one might be preferred over the other.
if (*p == MAX_VALUE) return -1;
if (MAX_VALUE == *p) return -1;
thanks