IMG-LOGO

Câu hỏi:

14/10/2022 48

Point out the error in the following program
Media VietJack

A. Error: cannot convert ‘void’ to ‘int’

Đáp án chính xác

B. Error:

Trả lời:

verified Giải bởi Vietjack

Chọn A

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 82

Câu 2:

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

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

Câu 3:

Will the following functions work?
Media VietJack

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

Câu 4:

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 5:

What will be the output of the program?
Media VietJack

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

Câu 6:

Every function must return a value

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

Câu 7:

In a function two return statements should never occur.

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

Câu 8:

What is output ?
Media VietJack

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

Câu 9:

Maximum number of arguments that a function can take is 12

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

Câu 10:

What will be the output of the program?
Media VietJack

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

Câu 11:

Functions can not return a floating point number

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

Câu 12:

What is output?
Media VietJack

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

Câu 13:

What is output of program?
Media VietJack

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

Câu 14:

What is output of program?
Media VietJack

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

Câu 15:

What is output ?
Media VietJack

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