#include <stdio.h> void fun(int *x,int *y) { int t; t=*x;*x=*y;*y=t; } void main() { int a,b; a=8; b=3; fun(&a, &b); printf("%d %d\n ", a,b); }
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Java使用Lua脚本案例
java使用lua快速入门
redis lua java -
Lua基础操作<for>
lua不追求高大上的写法,简单方便即为真理
游戏开发 泛型 for Lua白话文