Final Exam Review Question, please help
Hello all,
I am currently studying for a final exam coming up very very soon.
Instead of starting new threads for each question, I am simply going to post questions here so I don't over-thread the forum.
I have failed my previous exams upto this final and I am really trying to learn as much as I can b4 the final comes. My professor is tricky!
So thank you for those who make an effort to help me, I need all the help I can get!
1) What is the largest integer that can be stored in an int variable?
A)1000
B)1000000
C)1000000000
D)2 raised to the 32nd power minus 1
E)None of the Above
I find it hard to determine the limit of an integer.
I know that C) is the most correct out of the first four options but an integer that is larger then C) can be stored as an integer.
What is the most correct way to know what the limit is? How would I know what answer he is looking for b/c there are so many different times where I thought I found a limit and and I was incorrect...