C++

Objectives :

  • myPointer2
    ptr1 = &n1 ; // meaning initializing pointer.
     
  • code: myPointer2b.txt

Step: 1 Create a  Source file with Quincy IDE

Step: 2 Save as

 

Step: 3 Edit Source file, note the use of & operator that points the address location of the integer variables n1, n2 and n3 respectively

ptr1 = &n1 ; // meaning initializing pointer.

Step: 4 Runtime Views:

Step: