PRF192_-_SU_2023_-_Block_5_-_RE_751.webp
Choso87

PRF192_-_SU_2023_-_Block_5_-_RE_751.webp

  • Media owner Choso87
  • Ngày thêm
Answer (Choose 1 answer)
What is the output when the sample code below is executed?
void foo(int *z) { return(m+2);}
int main() { int a=45, *b, m = 10;b=foo(&a);printf("%d %b", a, b);return 0;
}
A. 45 12
B. 45 10
C. 10 45
D. compile error
E. 12 12
Exit 24

Thông tin

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

Image metadata

Filename
PRF192_-_SU_2023_-_Block_5_-_RE_751.webp
File size
60.8 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom