-->
当前位置:首页 > 题库

PROGRAMMING:C programming experiment 5-4 swap function

Luz5年前 (2021-05-10)题库377
Input two integers randomly from keyboard, use pointer as function parameter, program to exchange them and output them again.
###Function interface:
```
void Swap(int *x, int *y)
```
###Input format:
Two integers separated by spaces
###Output format:
Two integers separated by spaces
###Input example:
Here is a set of inputs. For example:
```in
32 90
```
###Output example:
The corresponding output is given here. For example:
```out
90 32
```







answer:If there is no answer, please comment