PRF192_-_SU_2024_-_FE_2315.webp
hoangha297

PRF192_-_SU_2024_-_FE_2315.webp

Kizspy | Question: 41
(Choose 1 answer)
What will be the output of the following program?
#include <stdio.h>
int main() { int *pa = a;
int a = 10;(*pa)++;
a=a+10;
printf("%d", ++a);
getchar();return 0;
}
A. Compiler error
B. 22
C. 21
D. 20

Thông tin

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

Share this media

Back
Bên trên Bottom