码迷,mamicode.com
首页 > 其他好文 > 详细

第一套三

时间:2014-08-16 22:31:31      阅读:166      评论:0      收藏:0      [点我收藏+]

标签:io   amp   on   return   c   print   class   as   

#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
int fun(int *x,int y);
void main()
{
	int a=3,b=8;
	system("CLS");
	printf("%d %d\n",a,b);
	b=fun(&a,b);
	printf("%d %d\n",a,b);
}
int fun(int *x,int y)
{
	int t;
	t=*x;
	*x=y;
	return t;
}

第一套三,布布扣,bubuko.com

第一套三

标签:io   amp   on   return   c   print   class   as   

原文地址:http://blog.csdn.net/u013116579/article/details/38620657

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!