Functions

This section contains source codes of many Programs that are the Basics of Programming in C++.

Functions

Postby MT Shahzad on March 4th, 2008, 4:31 pm

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.
You do not have the required permissions to view the files attached to this post.
MT Shahzad
Web/Software Developer
http://mts.sw3solutions.com
User avatar
MT Shahzad
Site Admin
 
Posts: 300
Joined: February 29th, 2008, 8:11 am
Location: Muridke, Pakistan

Return to Basic Programming

Who is online

Users browsing this forum: No registered users and 0 guests

cron