PRF192_-_RE_-_SU_2023_575.webp
Eso89

PRF192_-_RE_-_SU_2023_575.webp

  • Media owner Eso89
  • Ngày thêm
(Choose 1 answer)
Exit 26
What is the output when the sample code below is executed?
void foo(int x, int *y) {
x = x*x;
*y = *y**y;
}
int main(){
int x= 5, y=-2;
foo(x, &y);
printf("%d %d",x,y);
return 0;
}
A. 54
B. -5 -4
C. -5 4
D. 25 4
E. -5 -2

Thông tin

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

Image metadata

Filename
PRF192_-_RE_-_SU_2023_575.webp
File size
45.8 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom