Swap the numbers using call by reference
code:
Showing posts with label Functions. Show all posts
Showing posts with label Functions. Show all posts
Wednesday, October 19, 2011
Program: To illustrate call by reference [swap two numbers]
Monday, October 10, 2011
Program:To find factorial of a number using recursion
When a function calls itself repeatedly, until some specified condition is met then this process is process is called as recursion.Lets have a program to find the factorial using recursion in c++.
Subscribe to:
Posts (Atom)