charcter arrays

hey guys just wanted to ask a simple question to be sure...how many bytes are in the following character array....thanx in advance

 
  char mystr[]="Good morning!";
thanx so can i say dat my char array is 14 bytes or 13 in this question
Your array contains 14 characters: 13 letters + trailing zero. As char is defined to be 1 byte in size, you can say your array is 14 bytes in size.
Registered users can post here. Sign in or register to post.