How many bytes does an int typically occupy in C?
Correct answer
C. 4
11 views
C. 4
11 views
On most modern compilers, an int occupies 4 bytes. This can vary by system, but 4 is the standard answer expected in board exams. char is 1 byte and double is usually 8.
Asked in: Matric,FBISE
Not sure why the answer is C? Ask here and get an explanation.