What is the range of values that can be stored in an 'int' data type in C?
A. -32768 to 32767
B. -2147483648 to 2147483647
C. 0 to 65535
D. 0 to 4294967295
Answer: Option B
Solution(By Examveda Team)
The range of values that can be stored in an 'int' data type in C is Option B: -2147483648 to 2147483647. An 'int' is typically represented as a 32-bit signed integer on most systems, which allows it to store values within this range.So, the correct answer is:
Option B: -2147483648 to 2147483647
Related Questions on C Fundamentals
What is the primary purpose of a function prototype in C?
A. Declare a variable
B. Declare a function
C. Define a function
D. Assign a value
What is the correct syntax for declaring a variable in C?
A. int variable_name;
B. variable_name = 5;
C. variable_name int;
D. int = variable_name;
Join The Discussion