[Solved] character and array [closed]
char name; This gives you a single char object. char name[5]; This gives you 5 char objects, one after the other – this is called an array of 5 chars. You can index them with name[0], name[1]… until name[4]. “best” This is a string literal. It represents an array of 5 chars in read-only memory, … Read more