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.
- What would the syntax be for a void function called "Print" that takes a pointer to an integer? void Print(int *pNumber) { ... }
- How would you call the above function if you had a integer variable called i? Print(&i);