[Solved] Type of strings
[ad_1] The type of foo is char[4], i.e. a character array containing 4 chars (including the trailing null character ‘\0’.) String literals can be used to initialize character arrays. If an array is initialized like char str[] = “foo”;, str will contain a copy of the string “foo”. The type of bar is char *, … Read more