⧼⧼  Previous Page
⧼  Table of Contents  ⧽
Next Page  ⧽⧽

Pointers as Function Parameters

Computer Programming C++ / Understanding Memory

The following video will show you how to use pointers as arguements to functions.

Review Questions

The following are examples of questions similar to what you can expect to see on the next exam.

Hover over a question to show the answer.
  1. What would the syntax be for a void function called "Print" that takes a pointer to an integer? void Print(int *pNumber) { ... }
  2. How would you call the above function if you had a integer variable called i? Print(&i);
⧼⧼  Previous Page
⧼  Table of Contents  ⧽
Next Page  ⧽⧽
© Ryan Appel