Q29.webp
Erza_girl

Q29.webp

Kizspy | Question: 29
(Choose 1 answer)
Assume we have a function such as:
void swap(int a, int b){
int t = a;
a=b;
b=t;
" What is the problem with a and b after executing the swap (a, b) function?
A. a and b do not change values.
B. cannot execute the swap(a,b) function.
C. a has the old value of b, and b has the new value of t.
D. a and b change values for each other;

Thông tin

Category
PRF192
Thêm bởi
Erza_girl
Ngày thêm
Lượt xem
1,913
Lượt bình luận
7
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom