PRF192_-_FA_2024_-_Block_5_-_FE_3249.webp
Utahime97

PRF192_-_FA_2024_-_Block_5_-_FE_3249.webp

Kizspy | Question: 28
(Choose 1 answer)
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int *ptr, a = 10;
ptr = &a;
*ptr += 1;
printf("%d,%d\n", *ptr, a);
}
A. 10,10
B. 10,11
C. 11,10
D. 11,11

Thông tin

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

Share this media

Back
Bên trên Bottom