#include
#include
void main()
{
int n,i, *p,*q;
clrscr();
printf("Howmany number that u want to store : ");
scanf("%d",&n);
p = new int[n];
q=p;
printf("Enter %d Elements : \n",n);
for(i=0;i
scanf("%d",p);
p++;
}
printf("An array will Contains : ");
for(i=0;i
printf("%d ",*q);
q++;
}
getch();
}
No comments:
Post a Comment