Q18.webp
F

Q18.webp

  • Media owner Falman97
  • Ngày thêm
Question: 18
(Choose 1 answer)
FJOVERFLOW.COM
What will be the output of the following C code snippet?
#include <stdio.h>
void display(int num) {
if (num > 0)
printf("Positive");
else if (num < 0)
printf("Negative");
else
printf("Zero");
int main() {
display(-5);
return 0;
}
A. Positive
B. Negative
C. Zero
D. No output

Thông tin

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

Share this media

Back
Bên trên Bottom