Function to calculate the sum of two numbers: int sum(int, int); /* Function Prototype or Declaration*/ main( ) { int …


Function to calculate the sum of two numbers: int sum(int, int); /* Function Prototype or Declaration*/ main( ) { int …

Function is a small program which takes some input and gives us some output. Function allows a large program to …

Introduction:- A pointer is a special variable that is used to store the address of some other variable. A pointer …

Pointers Expression:- Like any other variables, pointer variable can be used in expressions. In a program all the following operations …

Pointers and the indirection operator:- The two fundamental operators used with the pointers are: 1. address operator & 2. indirection …

Introduction:- A pointer is a special variable that is used to store the address of some other variable. A pointer …

Recursion A function is called recursive if a statement within the body of a function calls the same function. Sometimes …

User Defined Functions Functions defined by us are known as User Defined Functions. main( ) function is also user defined …

Types of Functions:- 1. Library Functions: – Functions defined previously in the library are called as library functions. #include<math.h> main( …

Argument Passing Mechanism:- (i) Call by value:- When arguments are passed by value then the copy of the actual parameters …
Send this to a friend