PRF192_-_PT02_-_SP_2024_1513.webp
maik205

PRF192_-_PT02_-_SP_2024_1513.webp

  • Media owner maik205
  • Ngày thêm
Question 23
Answer saved
Marked out of 1.00
What is the ouput 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. -5 4
Ob. 25 4
Oc. -5-2
Od. -5-4
Clear my choice

Chưa có bình luận nào.

Thông tin

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

Share this media

Back
Bên trên Bottom