Thursday 2 December 2010

How many bytes are occupied by declaring following array of characters? char str[] = “programming”;

► 10
► 11
12
► 13
11 plus one for null char (11+1= 12)

No comments:

Post a Comment