This post show some c++ programs to demonstrate the use of some user-defined and built-in functions.
CPP-036: A C++ Program to illustrate the use of parameterless function.
CPP-037: A C++ Program that find the largest integer out of three integers provided and display the largest integer. [ using functions with no return type ]
CPP-038: A C++ Program that find the largest integer out of three integers provided and display the largest integer. [ using functions with return type ]
CPP-039: A C++ Program to illustrate the use of call-by-value method in functions.
CPP-040: A C++ Program to illustrate the use of call-by-refrence method in functions.
CPP-041: A C++ Program to illustrate the use of inline functions.
CPP-042: A C++ Program to illustrate the use of default argument function.
CPP-043: A C++ Program to illustrate the use of function overloading.
CPP-044: A C++ Program that find the distance between two points in 2D and 3D space using function overloading.
CPP-045: A C++ Program to interchange the values of two int, float and char using function overloading.
CPP-046: A C++ Program to find the value of sin at any given angle. [ using built-in function ]
CPP-047: A C++ Program that reads two positive numbers n and r s.t. n>r, then coumputes and displays the value of nCr.
CPP-048: A C++ Program to illustrate the use of some builtin functions of header file "math.h".
CPP-049: A C++ Program to illustrate the difference between the use of strcomp, strcmpi and stricmp.
CPP-050: A C++ Program that differentiate b/w the variables of the storage class Auto and Static along with global variables.