C++ examples for Data Type:Array
Array accessed with array notation
#include <iostream> using namespace std; int main()//from w w w. j a va2s . co m { //array int intarray[5] = { 3, 5, 7, 2, 3 }; for(int j=0; j<5; j++) //for each element, cout << intarray[j] << endl; //print value return 0; }