PRF192_-_FA_2024_-_Block_5_-_FE_3249.webp
Utahime97

PRF192_-_FA_2024_-_Block_5_-_FE_3249.webp

Kizspy | Question: 41
(Choose 1 answer)
What will be the output of the following program?
void func(int *p){
int j=11;*p = j;
}
int main() {
int i = 1;
int *p = &i;
func(p);
printf("%d,%d", i, *p);
getchar();
return 0;
FUOVERFL
}
A. 11,11
B. 1,1
C. 0,0
D. 0,1

Thông tin

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

Share this media

Back
Bên trên Bottom