#include<iostream.h>
#include<conio.h>
int main()
{
clrscr();
int i,a[] = {10, 20, 30, 40, 50,60};
void display(int *a);
i = 0;
while (i<=5)
{
display(&a[i]);
i++;
}
getch();
return 0;
}
void display(int *num)
{
cout<<*num<<endl;
}
Home       |      About Us       |     Portfolio       |      Services       |       Career        |    Contact Us       |      Industrial Training        |      Achievement 
Corporate Services
  Web Design and development
  Web Promotion (SEO)
  Multimedia/CD Presentation
  Software development

  E.Commerce

Training@balujalabs

  Software Courses
  Hardware Courses
  Networking.Courses
  Mobile Repairing Courses
  UGC Degrees
Student Corner
 Programming & Projects
 Placement Papers
 Project Ideas
 Synopsis Ideas

  Franchise Section

 Administrator
Franchise Inquiry
 
 

To pass array elements to the functions using call by reference method.

 

 

 

 

 

 

 

 

 

                                                                                                                                          

1 To assign address of a variable to a pointer variable then display their value.
2 To assign pointer variable to another pointer and then display contents of both pointers.
3 To display the address of pointer variable before and after incrementing.
4 To display the address of a pointer variable before and after decrementing it.
5 To demonstrate the use of arithmetic operators with pointer.
6 To swap two numbers using call by reference method and display the numbers before, during and after the function calling,
7 To pass array elements to the functions using call by reference method.
8 To find factorial of number using pointer to functions method.
9 Call initialize and display array elements using pointers.
10 To pass entire array to the functions using pointers.
11 To display the contents of a two dimensional array using pointer.
12 To demonstrate the use of pointer with strings.
13 To find the length (number of characters) of the given string using the pointers.
14 To copy the contents of one string to another and display the contents of both strings using pointer.
15 To demonstrate the working of new delete operators by entering the employee number and basic pay of some employee’s during runtime.
16 To display the contents of pointers using an array of pointers.
17 To declare pointer to pointer variable and to display the contents of these pointers.
18 Program to display the contents of a pointer variable using different types of incrimination techniques.
19 Program to find highest of three numbers using pointer to functions.
20 Program to find the sum of two matrices A and B and store the sum in matrix C print the Contents of matrix C using pointers.
21 Program to print different values being pointing to an array of pointers.
22 Program in which a pointer to a function accepts three pointers to integer quantities as arguments quantity.
23 Program to illustrate a function returning a pointer.
24 To generate table of any number using pointers.

 

     
Home       |      About Us       |     Portfolio       |      Services       |       Career        |    Contact Us       |      Industrial Training        |      Achievement