Pointers and Arrays in C++
There is a close association between pointers and arrays. “Arrays and Strings,” how array elements are accessed. The following program, ARRNOTE, provides a review. // arrnote.cpp // array accessed with array notation #include <iostream> using namespace std; int main() { //array int intarray[5] = { 31, 54, 77, 52, 93 }; for(int j=0; j<5; j++)
Pointers and Arrays in C++ Read More »









