A C++ question# Unix - 噫吁兮,危乎高哉
l*u
1 楼
Anybody can give me the answer for the following question? Thanks.
Is there a difference between the "if" test 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;
Is there a difference between the "if" test 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;