Monday, October 3, 2016

C++ treats variables and floating variables differently. A floating variables simply means that the number can have a decimal point and other things behind it. Integers, in the programming sense, can only partain to any whole,real number. Literals are also different in the way that they literally mean whatever you define them as. Literals are this way because they need to be the key part of the variable. Without a literal, the variable would not be able to function or compile.

No comments:

Post a Comment