PRF192_-_SP_2025_-_Block_5_-_2_3869.webp
AllMight90

PRF192_-_SP_2025_-_Block_5_-_2_3869.webp

Kizspy | Question: 21
(Choose 1 answer)
What does the following code print?
int x = 10;
if (x = 0)
printf("Zero");
else
printf("Non-zero");
A. Runs and prints "Non-zero".
B. Compiler error.
C. Runs but prints nothing.
D. Runs and prints garbage value.
E. Runs and prints "Zero".
F. Runtime error.

Thông tin

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

Share this media

Back
Bên trên Bottom