Hi all,
the output is 6 and 4Code:#include<stdio.h> int main() { char p[]="hello"; printf("sizeof(p)=%d\n",sizeof(p)); printf("sizeof(p+1)=%d\n",sizeof(p+1)); return 0; }
Can someone explain why is the output of sizeof(p+1)=4
Regards and Thanks
C_Enthusiast