Get Paid To Promote, Get Paid To Popup, Get Paid Display Banner

Sunday, February 27, 2011

new | DS

#include
#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();
}

0 comments:

Post a Comment