Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (anonymous):

C++ Choose any of the following values can be stored in an int variable. 1) 77 2) 7.7 3) -77 4) 0 5) 7/10 6) .0004

OpenStudy (e.mccormick):

OK? What part of this are you unsure of?

OpenStudy (anonymous):

77, 0 , -77 are integers and so they can be stored in an int variable

OpenStudy (anonymous):

1), 3), 4) are integers to be stored in an int

OpenStudy (e.mccormick):

And if you are unsure how they answered that so adeptly, take a look at a variable type declaration chart: http://www.cplusplus.com/doc/tutorial/variables/ Under "Fundamental data types" it goes over what makes what.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!