sizeof char[]=”some” is strange
char string0[]= “0123456789”; // sizeof(string0)=11 char string1[11]=”0123456789A”; // sizeof(string1)=11 The string1 case is clear, allocated 11 Bytes for chars plus one for ” and sizeof() do not count terminator. The string0 case is not clear to me, allocated 10 Bytes for chars plus one for ”, so sizeof() should report 10 Why sizeof() say the […]