I have this following program:
Code:char a[] = "VC"; char *b = "VC"; printf("\n %d %d",sizeof(a),sizeof(b));
Which gives me the 'sizeof' output 3 and 4 for a and b respectively
3 bytes for 'a' is understandable because we have 'V', 'C' and '\0'.
Whereas, it '4' bytes for b.
Now, where does the extra one byte come in for b?
Thanks.