C++

Objectives :

  • myRtnPtrToArray1.cpp
    returning the value and address with a pointer to an array element.
    //----------------
    int name of the function( int index){
    return *aptr1 ;
    }
     
  • code :myRtnPtrToArray1.txt

Step: 1 Create a source file.

Step: 2 Edit and save Source file

Step: 3 Runtime Views:

Step: