+ 2

What's mean an array in C++

4th Jul 2017, 11:42 AM
Amara Abdelghani
Amara Abdelghani - avatar
3 Answers
+ 1
It is like a group of variable of a same type. int a[]={6,3,9}; // group of integer The first variable of that group is 'a[0]' and its value is '6'. The second is 'a[1]' and its value is '3'. I made it quick, ask if you don't understand. I recommend you to read (again?) the course about arrays on C++.
4th Jul 2017, 11:56 AM
Jojo
+ 1
An array is a data structure that contains a group of elements. 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.
18th Jul 2017, 6:48 AM
RAHUL KUMAR
RAHUL KUMAR - avatar
0
an array is a group of variables written under a same name which can store almost infinite diffrent values at diffrent adresses....
4th Jul 2017, 12:19 PM
DEVIL kingg
DEVIL kingg - avatar