The following is my code
main(){
char a[2]={'a','b'};
copy_arr(a);
int i=1;
char *s=a;
printf("s=%d\n and",sizeof(s)/sizeof(*s));
printf("a=%d\n",sizeof(a)/sizeof(*a));
}
The output comes out to be s=4 and a=2 What does size of function returns in case of the pointer.