Lesson 18
Unlock this lesson
Create a free account, then buy the course to open every lesson.
What you will learn in this lesson
- What a function is, and why every big program is made of many small ones.
- Write your own function and call it from main.
- Send values into a function with parameters.
- Get an answer back with return.
- Write a prototype, so a function can live below main.
Everything in C Programming: BCA, MCA, BTech & O Level
- 37 step-by-step lessons
- 10 mini projects with solutions
- A final project for your portfolio
- Real commands and real output in every lesson
- Practice task with a solution in each lesson
- Progress saved to your account