Category: Accessing of functions in C++

Interested in learning C Programming? Click here...

Accessing of Functions in Cpp 0

Accessing of Functions in C++

A function can be accessed (i.e., called) by specifying its name, followed by a list of arguments enclosed in parentheses and separated by commas as shown below.

If the function call does not require any arguments, an empty pair of parentheses must follow the name of the function as shown below.

The function call may be a part of a single expression (such as an assignment statement), or it may be one of the operands within the more complex expression as shown below.

The arguments appearing in the function call are referred to as actual arguments, in...