#include < stdio.h >
void print(int arr[])
{
int n=sizeof (arr)/sizeof (arr[0]);
int i;
for (i=0; i< n; i++)
{
printf("%d",arr[i]);
}
}
int main()
{
int arr[]={1,2,3,4,5,6};
print(arr);
}
Q) In this program does sizeof [arr] give the address of base address of array or the size of arr?