Posts

Showing posts from March 8, 2011

Simple C program of an array of 5 elements without use of Array without memory location

void main() { int *ptr; int i; for(clrscr(),i=0;scanf("%d",&ptr+i),i<5 data-blogger-escaped-br="" data-blogger-escaped-i=""> for(i=0;printf("%d\n",*(&ptr+i)),i<5 data-blogger-escaped-br="" data-blogger-escaped-i=""> getch(); }