Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How many types of Array are there in C++?
#1
Respected Sir, How many types of Array are there?
Reply
#2
Dear student!
Arrays can be divided into three major categories:
One dimensional array: For example
int age [ 10 ] ;

Two dimensional array: For example
int x [ 2 ] [ 3 ] ;

Multi-dimensional array:For example
int x [ ] [ ] [ ] ;
Multi-dimemsional array is array of array.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  array project code c++ 2011 Vuhelper 0 1,274 12-10-2011, 06:32 PM
Last Post: Vuhelper
  get length of a dynamic array in c++ 2011 Vuhelper 0 874 07-20-2011, 10:50 PM
Last Post: Vuhelper
  Multidimensional Array vs If-Statements and Functions? in c++ Vuhelper 0 832 07-20-2011, 10:45 PM
Last Post: Vuhelper
  C++ stringstream array to int in c++ 2011 Vuhelper 0 2,475 07-19-2011, 06:35 PM
Last Post: Vuhelper
  adding rows and columns of a multi array in c++ 2011 Vuhelper 0 1,065 07-12-2011, 11:03 PM
Last Post: Vuhelper
  Passing 2d array by reference June 2011 Vuhelper 0 920 06-19-2011, 06:11 PM
Last Post: Vuhelper
  Passing into function array of matrix in c++ 2011 Vuhelper 0 2,519 06-15-2011, 06:24 PM
Last Post: Vuhelper
  Pass string value into function as an array in c++ Vuhelper 0 952 06-11-2011, 06:42 PM
Last Post: Vuhelper
  initialization of array in c++ Vuhelper 0 3,071 06-04-2011, 08:05 PM
Last Post: Vuhelper
  Memory pool & char array questions in C++ for 2011 Xpert 0 2,254 05-12-2011, 09:16 PM
Last Post: Xpert

Forum Jump:


Users browsing this thread: 1 Guest(s)