IMG-LOGO

Câu hỏi:

14/10/2022 78

Which of the following statements are correct about the program?
Media VietJack

A. It prints garbage values infinitely

B. Runs infinitely without printing anything

Đáp án chính xác

C. Error: main( ) cannot be called inside printf( )

D. No Error and print nothing

Trả lời:

verified Giải bởi Vietjack

Chọn B

Câu trả lời này có hữu ích không?

0

CÂU HỎI HOT CÙNG CHỦ ĐỀ

Câu 1:

Usually recursion works slower than loops

Xem đáp án » 14/10/2022 81

Câu 2:

Will the following functions work?
Media VietJack

Xem đáp án » 14/10/2022 77

Câu 3:

There is a error in the below program. Which statement will you add to remove it
Media VietJack

Xem đáp án » 14/10/2022 74

Câu 4:

What will be the output of the program?
Media VietJack

Xem đáp án » 14/10/2022 73

Câu 5:

Every function must return a value

Xem đáp án » 14/10/2022 72

Câu 6:

In a function two return statements should never occur.

Xem đáp án » 14/10/2022 71

Câu 7:

What is output ?
Media VietJack

Xem đáp án » 14/10/2022 70

Câu 8:

Maximum number of arguments that a function can take is 12

Xem đáp án » 14/10/2022 70

Câu 9:

What will be the output of the program?
Media VietJack

Xem đáp án » 14/10/2022 66

Câu 10:

Functions can not return a floating point number

Xem đáp án » 14/10/2022 64

Câu 11:

What is output?
Media VietJack

Xem đáp án » 14/10/2022 61

Câu 12:

What is output of program?
Media VietJack

Xem đáp án » 14/10/2022 59

Câu 13:

What is output of program?
Media VietJack

Xem đáp án » 14/10/2022 59

Câu 14:

Which of the following is the correct order if calling functions in the below code?
Media VietJack

Xem đáp án » 14/10/2022 58

Câu 15:

What is output ?
Media VietJack

Xem đáp án » 14/10/2022 57