PRF192_-_FA_2023_-_FE_1018.webp
T

PRF192_-_FA_2023_-_FE_1018.webp

(Choose 1 answer)
What is the output when the sample code below is executed?
void foo(int *p, int q) {
*p = *p* *p;
}
int main() { int p=3,q=4;
foo(&p, q);
printf("%d %d",p,q);
printf("");return 0;
}
A. 3 4
B. 3 16
C. 94
D. 9 16
E. 4 9


Exit 45

Thông tin

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

Image metadata

Filename
PRF192_-_FA_2023_-_FE_1018.webp
File size
46.4 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom