-->
当前位置:首页 > 题库 > 正文内容

Multiple choice:The functions of the following functions are

Luz3年前 (2021-05-10)题库452
The function of the following function is @ [D] (2)
```
void Exchange(int *p1, int *p2)
{
int p;
p = *p1;
*p1 = *p2;
*p2 = p;
}
```
A. Exchange addresses of \ * P1 and \ * P2
B. May cause system failure
C. Correct, but cannot change the values of \ * P1 and \ * P2
D. Exchange the values of \ * P1 and \ * P2




A. Exchange addresses of \ * P1 and \ * P2
B. May cause system failure
C. Correct, but cannot change the values of \ * P1 and \ * P2
D. Exchange the values of \ * P1 and \ * P2


answer:D

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。