PRF192_-_SP_2025_-_Block_5_-_2_3869.webp
AllMight90

PRF192_-_SP_2025_-_Block_5_-_2_3869.webp

Kizspy | Question: 19.
(Choose 1 answer)
What will the following program output?
#include <stdio.h>
int main()
{
int a = -5;
RUUVERRIJM Com
}
if (a%2==0)
printf("a is an positive number.");
else if (a == 0)
printf("a is zero.");
else
printf("a is an negative number.");
return 0;
A. a is an positive number.
B. a is an negative number.
C. a is zero.
D. An error will be raised.

Thông tin

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

Share this media

Back
Bên trên Bottom