C语言继续求大侠来解答!

[复制链接]
查看11 | 回复2 | 2011-6-24 12:51:18 | 显示全部楼层 |阅读模式
#include<stdio.h>

inta=100,b=200;

voidf()

{printf(“%d,%d\\n”,a,b);

a=1;b=2;

}

voidmain()

{inta=5,b=7;

f();

printf(“%d,%d\\n”,a,b);

}
输出结果:
回复

使用道具 举报

千问 | 2011-6-24 12:51:18 | 显示全部楼层
100,200
5,7









<h4class=\"ask\">追问


5,7要换行写吗?
回复

使用道具 举报

千问 | 2011-6-24 12:51:18 | 显示全部楼层
要换行
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行