Java : JAVA Value and Types

Which of the following is the range of values that can be stored in a int variable? , Which of the following is the range of values that can be stored in a int variable?

Which of the following is the range of values that can be stored in a int variable?

Which of the following is the range of values that can be stored in a int variable?
A. -128 to 127

B. -32768 to 32767

C. -2^31 to (2^31)-1

D. None of these



Correct Answer :

C. -2^31 to (2^31)-1



CCC Online Test , CCC MCQ Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz career counselling in allahabad Website development Company in Allahabad