What is actual meaning of string and array in c++
Answers
Answered by
1
Explanation:
The main difference between the two is that arrays can have any data type of any length while strings are usually ASCII characters that are terminated with a null character '\0'. Both are very different in terms of how they are being implemented in various programming languages.
hope it will help you....
Answered by
1
Answer:
In C/C++, a string is a 1-D array of characters and an array of string in C is a 2D array of characters. This comes quite handy in C++. There are 3 ways in which an Array of Strings in C or C++ can be created.
Explanation:
Similar questions