![]() ![]() In other words, it is a convenient way of grouping similar items. Technically, the array is a sequential collection of similar variables that share a common name. Thus the concept of array came into the picture. To process such volumes of data there is a need for a strong data type that is efficient in storing and accessing data items. Many applications have a very large amount of data. Let’s first have a look at what are strings and arrays individually. In this article, we see a detailed comparison between strings and arrays. Strings and arrays work differently in C \ C and in Java. ![]() These characters in strings are terminated with a null character ‘\0’. The most common difference between array data structure and string is, the array can have any data type while strings are ASCII characters. ![]() They are implemented differently in different programming languages. Strings and arrays have similar functionality with some differences. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |