int main()
{
int array[5][5];
printf("%d",( (array == *array) && (*array == array[0]) ));
return 0;
}
Here I understand *array=*(array+0)=array[0]
but how is array=*array?
*array contains the address of the 0th element of 0th 1-D array whereas array contains the address of 0th 1-D array , which are not same according to my knowledge. Then why is the output 1 here?
Can someone pls help me out here..