Lesson 9
Unlock this lesson
Create a free account, then buy the course to open every lesson.
What you will learn in this lesson
- Ask yes or no questions with six comparison operators.
- Why C answers with 1 for yes and 0 for no.
- Join two questions with && (and) and || (or). Flip an answer with ! (not).
- Read the truth tables for &&, || and !.
- Store a yes or no answer in a bool variable.
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