鉴于long long int x, y;
,我想要一个函数,它可以比较x & y并返回T/F标志,这是一个普通的32位int。我想这一点,但它让我感到困惑长数据类型的算术/逻辑操作
#include <stdio.h>
int main() {
long long n,i;
scanf("%l64d", &n);
i=42;
printf("%l64d", n);
printf("%l64d", i);
printf("\ni<=n --> %d\n",i<=n);
return;
}
Arthimatic?算术?关节炎?你在谈论按位还是逻辑操作? '&'是按位 – Anycorn 2011-12-21 06:47:58
@Catcall对不起,我不能把我的代码,我试过。有些我感到困惑。但我并不懒惰尝试。 – kannah 2011-12-27 14:06:58