Sunday, January 10, 2010

How many bytes are allocated by the definition below?

char txt [20] = "Hello world!\0";

a) 11 bytes
b) 12 bytes
c) 13 bytes
d) 20 bytes
e) 21 bytes

No comments: