(Move to ...)
▼
Program to illustrates Pointers & Arrays
#include<iostream.h>
#include<conio.h>
void main( )
{
int A [ ] = { 11, 33, 55, 77, 99 } ;
for ( int i = 0; i <= 4; i++)
{
cout<<"\n Element "<< i <<"\t" ;
cout<<" Number "<< A[i] <<"\t" ;
cout<<" Address = "<<&A[i];
}
getch( );
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment