关于逻辑运算的疑问
#include <stdio.h> main() { int a=-1,b=1,k; printf("\n"); if(++a<0 && !(b--<=0)) printf("%d,%d\n",a,b); else printf("%d,%d\n",b,a); }
请解释该程序运行的过程. 谢谢

#include <stdio.h> main() { int a=-1,b=1,k; printf("\n"); if(++a<0 && !(b--<=0)) printf("%d,%d\n",a,b); else printf("%d,%d\n",b,a); }
请解释该程序运行的过程. 谢谢

2004-07-19 14:48
2004-07-19 16:58