What is the size of an integer data type in ruby?
-2^{30} to 2^{30}
-2^{30} to 2^{(30-1)}
-2^{29} to 2^{30}
-2^{60} to 2^{61}
Correct Answer: B — -2^{30} to 2^{(30-1)}
Explanation:
Integer ranges from -2^{30} to 2^{29} and lies in object of class Fixnum.