1517: 指针变量作为函数参数实现两变量交换值

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:3383 Solved:2742

Description

对输入的两个整数a,b,用指针变量作为函数参数,交换a和b的值.

Input

两个整数a,b

scanf("%d %d", &a, &b);

Output

输出用函数交换处理后的值a,b


printf("%d %d", a, b);


Sample Input Copy

1 2

Sample Output Copy

2 1