28.0k views
1 vote
Question 6

Which of the following data types are larger (allocate more bytes) than an int?
short
char
long long
all of the above

1 Answer

4 votes

Answer:

long long = 8 bytes

Step-by-step explanation:

long long data type reserves more bytes than int. because

int reserves = 4 bytes

long long reserves = 8 bytes

on the other hand

short reserves only 2 bytes and char reserves only 1 byte.

User Oleg Imanilov
by
8.0k points