Chủ nhật, 09/03/2025
IMG-LOGO

Câu hỏi:

17/06/2024 102

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 107

Câu 2:

Will the following functions work?
Media VietJack

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

Câu 3:

What will be the output of the program?
Media VietJack

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

Câu 4:

In a function two return statements should never occur.

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

Câu 5:

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

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

Câu 6:

Every function must return a value

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

Câu 7:

Functions can not return a floating point number

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

Câu 8:

Maximum number of arguments that a function can take is 12

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

Câu 9:

What is output ?
Media VietJack

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

Câu 10:

What will be the output of the program?
Media VietJack

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

Câu 11:

What will be output of the program?
Media VietJack

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

Câu 12:

Output of following code?
Media VietJack

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

Câu 13:

Point out the error in the following program (if it is compiled with Turbo C complier)
Media VietJack

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

Câu 14:

What is output?
Media VietJack

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

Câu 15:

What is output ?
Media VietJack

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