IMG-LOGO

Câu hỏi:

14/10/2022 45

Which of the following operations are INCORRECT?

A. int i = 35; i = i%5

B. short int j = 5; j = j;

C. long int k = 123L; k = k;

D. float a = 3.14; a = a%3;

Đáp án chính xác

Trả lời:

verified Giải bởi Vietjack

Chọn D

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