Learning Outcomes
By the end of this session, students should:
- Understand how data is stored in memory (little-endian).
- Understand the concept of pointers.
- Be able to create pointers to variables and use them to modify the values stored in variables.
- Know how to use the
&
,*
and ->
operators.
- Know the difference between pass-by-value and pass-by-reference and how to do both.
- Know how to create static arrays.
- Know how to create dynamic arrays.
- Be able to pass arrays to functions.
- Understand the relationship between pointers and arrays.