Lesson 8
Unlock this lesson
Create a free account, then buy the course to open every lesson.
What you will learn in this lesson
- Add 1 to a variable with ++, and take away 1 with --.
- The difference between ++x (prefix) and x++ (postfix).
- What happens when you use x++ inside printf or an assignment.
- Why you must never change the same variable twice in one statement.
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