Program to illustrate the functions returning pointers in c++


#include
#include

int *function();

main()
{
clrscr();

int *p;

p=function();

cout<<"\n Value return by the function returning pointer :"<<<"\t value of *p = "<<*p<

No comments:

Post a Comment