P老師如是說
2011年1月3日 星期一
/ 2 and >> 1
#include <stdio.h>
int main()
{
int i = -13;
if ((i / 2) == (i >> 1))
printf("yes\n");
else
printf("no\n");
return 0;
}
The output is no.
較新的文章
較舊的文章
首頁
訂閱:
文章 (Atom)