IMG-LOGO

Câu hỏi:

14/10/2022 42

A float occupies 4 bytes. If the hexadecimal equivalent of these 4 bytes A, B, C and D, then when this float is stored in memory in which of the following order do these bytes gets stored?

A. ABCD

B. DCBA


C. 0xABCD

D. Depend on big endian or little endian architecture.

Đá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:

If the file tobe included does not exist, the preprocessor flashes an error message

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

Câu 2:

What will be output of the program?
Media VietJack

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

Câu 3:

Which of the following adds one string to the end of another?

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

Câu 4:

Is there any difference between following declarations?
Media VietJack

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

Câu 5:

What is output of the program?
Media VietJack

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

Câu 6:

A float is 4 byte wide, whereas a double is 8 byte wide

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

Câu 7:

Name of functions in two different files linked together must be unique.

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

Câu 8:

In which standard library file is the function printf( ) located?

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

Câu 9:

Why are a function phototypes useful?

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

Câu 10:

Which function is used to read the input from console?

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

Câu 11:

We want to round off x, a float, to an int value, The correct way to do is:

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

Câu 12:

What will happen if in the C program you assign a value to a array element whose subscript exceeds the size of array?

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

Câu 13:

What will be output of the program?
Media VietJack

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

Câu 14:

What will be output of program?
Media VietJack

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

Câu 15:

Functions cannot return more than one value at a time

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