Program to implement Multiple Pointer - TechnoHindi.Org

Latest

Saturday, August 8, 2020

Program to implement Multiple Pointer












#include <stdio.h> 
#include <conio.h> 
void main() 
int a= 5; 
int *c; 
int **cp; 
int ***cpp; 
clrscr(); 

c = &a; 
cp = &c; 
cpp = &cp; 

printf ("Value of a = %d", *c); 
printf ("\nAddress inside c = %u", c); 
printf ("\nAddress inside cp = %u", cp); 
printf ("\nAddress inside cpp = %u", cpp); 

getch(); 
}    
  1. Output :-

No comments:

Post a Comment