Question: what is the difference between array and string in c?
Answer: An array is a collection of like variables that share a single name. ... Usually, the array size is fixed, while strings can have a variable number of elements. Arrays can contain any data type (char short int even other arrays) while strings are usually ASCII characters terminated with a NULL (0) character.