| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 416 人关注过本帖
标题:为什么会这样哦
取消只看楼主 加入收藏
飞跃无限
Rank: 1
等 级:新手上路
威 望:1
帖 子:180
专家分:0
注 册:2006-4-16
收藏
 问题点数:0 回复次数:1 
为什么会这样哦

#include <stdio.h>

void main ()
{
printf("0 & 0 is %d\n", 0 & 0);
printf("0 & 1 is %d\n", 0 & 1);
printf("1 & 1 is %d\n", 1 & 1);
printf("1 & 2 is %d\n", 1 & 2);
printf("15 & 127 is %d\n", 15 & 127);

}

我也不知道我记没记错哦

为什么不能用以下这样呢
#include <stdio.h>

void main ()
{
printf("0 & 0 is %d\n", 0 && 0);
printf("0 & 1 is %d\n", 0 &&1);
printf("1 & 1 is %d\n", 1 && 1);
printf("1 & 2 is %d\n", 1 && 2);
printf("15 & 127 is %d\n", 15 && 127);
}

搜索更多相关主题的帖子: include 
2006-04-28 15:47
飞跃无限
Rank: 1
等 级:新手上路
威 望:1
帖 子:180
专家分:0
注 册:2006-4-16
收藏
得分:0 
2006-04-28 15:55
快速回复:为什么会这样哦
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.016398 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved