Search



Saturday, 19 September 2015

Address of all Array Variables.

#include <stdio.h>
#include<conio.h>
void main()
{
char a[3];
int i;
for(i=0;i<3;++i)
{
printf("Address of a[%d]=%x\n",i,&a[i]);
}
getch();
}


No comments:

Post a Comment

Guys if you think something is wrong or should be edit than please do comment.