void main()
{
int arr[4]={1,2,3,4};
cout<<arr;
char abc[4]="hel";
cout<<abc;
}


stupid Question..but still.. I wanna know why cout<<arr displays the address of the starting element of the array while cout<<abc displays the contents of the array??.. I mean shudnt all arrays have uniform features ?..kinda confusing fr beginers