38.1k views
0 votes
Which is correct with respect to the size of the data types in C?

a. char > int > float
b. char < int < float
c. int < char < float
d. int < char > float

User Jagoly
by
7.5k points

1 Answer

6 votes

Final answer:

The correct answer is c. int < char < float. In C programming language, the size of int is usually 4 bytes, while the size of char is 1 byte. The size of float is usually 4 bytes as well.

Step-by-step explanation:

The correct answer is c. int < char < float. In C programming language, the size of int is usually 4 bytes, while the size of char is 1 byte. The size of float is usually 4 bytes as well.

User TechnoIndifferent
by
8.5k points