3.12. GlossaryΒΆ


A type of variable (or value) that can contain fractions as well as integers. There are a few floating-point types in C++; the one we use in this book is double.


A statement that declares a new variable and assigns a value to it at the same time.


A named sequence of statements that performs some useful function. Functions may or may not take parameters, and may or may not produce a result.


A piece of information you provide in order to call a function. Parameters are like variables in the sense that they contain values and have types.


A value that you provide when you call a function. This value must have the same type as the corresponding parameter.


Cause a function to be executed.

You have attempted of activities on this page