1
0
mirror of https://github.com/renbaoshuo/202401-programming-assignments.git synced 2024-12-16 15:44:39 +00:00
202401-programming-assignments/【实践课内】13.指针1/6-1 交换两个整数的值.c

6 lines
70 B
C

void fun(int *a, int *b) {
int t = *a;
*a = *b;
*b = t;
}