Section outline
-
Aims/Rationale: To teach the students about Functions and pointers so that they can apply this knowledge in their academic and professional fields.
Learning Outcomes: At the end of the session participant will be:
- Able to understand functions and it’s necessity in C programming.
- Able to use functions in C programming.
- Able to write C programs using pointers.
Lecture Contents:
- Introduction to Functions.
- Passing values between Functions.
- Functions Calling, Functions Return.
- Call by value, Call by references.
- Pointer notation.
- Program writing using functions.
-
Watch on YouTube:
-
Write a C program using functions to determine the largest and smallest between 3 integer numbers.