HOD401_-_RE_-_SU23362111_518.webp
Pinako94

HOD401_-_RE_-_SU23362111_518.webp

  • Media owner Pinako94
  • Ngày thêm
(Choose 1 answer)
void swap(int *a, int *b){
Bob is new to C and she stills trying to grasp the concept of pointers. What is the output of be #include <stdio.h>*a=*a^*b:
*b=*a^*b:
*a=*a^*b;
}
int main()
{ int x = 5, y = 10;
int *a = &x, *b = &y;
swap(a, b);
printf("%d %d", *a, *b);
}
A. 5 10
B. 105
C. 55
D. 10 10
E. Can not compile

E 45

Thông tin

Category
HOD401
Thêm bởi
Pinako94
Ngày thêm
Lượt xem
287
Lượt bình luận
3
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
HOD401_-_RE_-_SU23362111_518.webp
File size
51.5 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom