Pointers

Call By Value

  1. Press start to start the experiment.
  2. Press next to see the execution of the code.
  3. Relavant line in the code is shown here.
  4. The output of the code is shown in the right.

Call By Reference

  1. Press start to start the experiment.
  2. Press next to see the execution of the code.
  3. The output of the code is shown in the right.
  4. You can stop the code using stop button.

Procedure

In this lab you will learn the basic concepts of pointers and addresses. You will also understand the process of memory allocation and passing in reference.