Write a program of simple dereferencing


 

/* Write a program of   simple dereferencing*/

#include<iostream.h>

#include<conio.h>

void main()

{

int *ptr_p;

clrscr();

cout<<“*ptr_p=”<<*ptr_p;

getch();

}

/* output:

*ptr_p=4096*/

Related Posts

Comments are closed.