C++ pointer to array with while loop

Objectives :

  • myPointerToArray3
    Code: myPointerToArray3.txt
  • Here in this example we used a pointer to an array, as a delimiter or scope of a while loop.

Step: 1 Create a source file.

 

Step: 2 Save  source file

Step: 3 Edit Source file

Step: 4 Runtime Views:

Step: