25th November 2019

uic
11

What do you mean by array in C?

An array is a collection of data items, all of the same type, accessed using a common name. A one-dimensional array is like a list; A two dimensional array is like a table; The C language places no limits on the number of dimensions in an array, though specific implementations may.

Simply so, what is an array give an example?

Typically these elements are all of the same data type, such as an integer or string. Arrays are commonly used in computer programs to organize data so that a related set of values can be easily sorted or searched. For example, a search engine may use an array to store Web pages found in a search performed by the user.

What is the use of array in C?

C - Arrays. Arrays a kind of data structure that can store a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type.
Write Your Answer

Rate

80% people found this answer useful, click to cast your vote.

4 / 5 based on 2 votes.

Bookmark

Press Ctrl + D to add this site to your favorites!

Share