#include<stdio.h>
main()
{
int a[]={10,20,30,40,50};
char *p;
int i;
p=(char*)a;
for(i=0;i<8;i++)
{
printf("%d %u\n",*p,p);
p++;
}
return 0;
}
Please explain the behavior that how array is stored in memory?