4.6. Glossary

argument

the data passed to parameter.

const

keyword that makes a variable or value constant and unchanging.

friend

an operator or function that can access the private data members of a class of which it is designated as a friend.

function

a section of code that performs a procedure and is usually named.

overloading

specifying more than one definition for the same function name or the same operator within the same scope.

parameter

a variable in a function or method definition that accepts data passed from an argument.

reference

a value that indicates a place in a computer’s memory.

void

Keyword indicating a function has no return value.

4.7. Matching

    Q-1: Drag each glossary term to its' corresponding definition. Feedback shows incorrect matches.
  • argument
  • Data passed to parameter.
  • const
  • indicates a variable or value is unchanging.
  • friend
  • Operator or function that can access the private data members of a class.
  • function
  • Section of code that performs a procedure and usually is named meaningfully.
  • overloading
  • Specifying more than one definition for the same function name or the same operator within the same scope.
  • parameter
  • Variable in a function or method definition that accepts data passed from an argument.
  • reference
  • Value that indicates an address in a computer’s memory.
  • void
  • indicates a function has no return value.
You have attempted of activities on this page
Next Section - 5. Collection Data Types