C Programming :: Basic Concepts - Discussion
Home > C Programming > Basic Concepts > MCQs Questions Discussion
48 / 90
Choose the correct option.
What is the sizeof(long int)
A4 bytes
B2 bytes
CCompiler dependent
D8 bytes
Answer: Option (Login/Signup)
Show Explanation
Hence, the correct option is C.
Asked In ::
STEP-BY-STEP
The size for long int depends on the compiler. For a 32-bit model, the size is 4 bytes, whereas for a 64-bit model the size is 8 bytes.
Hence, the correct option is C.
Read Full Answer
Report Error
Please Login First Click Here