Points to
Remember:
A
large program can typically be split into smaller sized blocks called as
functions.
Functions
can be classified into Pre-defined or Built-in or Library Functions and
User-defined Functions.
User-defined
functions are created by the user.
The
void function tells the compiler that the function returns nothing.
The
return statement returns a value to the calling function and transfers the
program control back to the calling function.
Default
the data type of a function in C++ is of type int.
A
function that calls itself is known as recursive function.
Scope
refers to the accessibility of a variable.
There
are four types of Scopes. They are: Local scope, Function scope, File scope and
Class scope.
The
scope operator (::) reveals the hidden scope of a variable.
Related Topics
Privacy Policy, Terms and Conditions, DMCA Policy and Compliant
Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.