+ 3
What is the data type of an array called in C++?
What is the data type of an array called in C++?
9 Respuestas
+ 5
Jacob is right, array is a data structure and we can store any one of datatypes in it.
+ 3
An array is a series of elements of the same type.
int foo [5] = { 16, 2, 77, 40, 12071 };
+ 3
vector
+ 1
in addition to Pedro.
An array can be any data-type
https://code.sololearn.com/c0pZ497FgT23
In my example i have 3 array's with different data-types
data-type a this is just one variable
data-type b [] this is an array
+ 1
An Array Is A derived Data Type ..........i.e It is a collection of variables of similar fundamental data types(eg. int, float, void, char)
+ 1
Array must contans elements which related to same data type in C++
0
Array is type of structure which is use to store continuous data in memory with it reference it can be of any type i.e. int char,float,etc; So array is basically use for more in a list of value input processing and in matrix type of problem.
0
Array can be of any data type int,float,double,string