C Lab Session 2
Please follow the instructions on https://ysjprog03.netlify.app/docs/vsc/ on setting up access to gitlab.
Exercise 1
- Clone and open https://github.com/andyguestysj/cMemoryAddresses.git
- Alternative if github doesn’t work - ctask1.c
- Work your way through the tasks in the code - they are in the comments
Exercise 2
- Clone and open https://github.com/andyguestysj/cPointers.git
- Alternative if github doesn’t work - ctask2.c
- Work your way through the tasks in the code - they are in the comments
Exercise 3
- Clone and open https://github.com/andyguestysj/cPointerChecking
- Alternative if github doesn’t work - ctask3.c
- Work your way through the tasks in the code - they are in the comments
Exercise 4
- Clone and open https://github.com/andyguestysj/cArrayBoundaryOverrun
- Alternative if github doesn’t work - ctask4.c
- Work your way through the tasks in the code - they are in the comments
Extra Exercises
If you’ve completed the exercises above, have a look at the link below for some more practice.
https://www.w3resource.com/c-programming-exercises/pointer/index.php
- Previous
- Next