KwickClips C · 43 sec · free
What does % give?
Short answer. The remainder.
What is the difference between = and ==?
= stores a value, == compares.
Four kinds
| Kind | Example |
|---|---|
| Arithmetic | 17 % 5 is 2 |
| Relational | 10 > 7 is 1 |
| Logical | a && b |
| Assignment | x += 5 |
Remember
| % gives the remainder |
| True is 1, false is 0 |
| = stores, == compares |
Most C code uses four kinds of operators. Arithmetic does maths. Relational compares, giving one or zero. Logical joins conditions. Assignment stores a value. Modulus gives remainder. True is one. Equals stores, double equals compares.
This clip is from the full lesson: Operators and Expressions in C — 8 minutes, with the tables, the quick answers and the whole lesson in text.
Useful for: GSEB Std 10 Computer Studies, Programming All levels C, Programming All levels C, Programming All levels C
More KwickClips from this lesson
Voice-over is AI-generated; the script is written and checked by Kajal Ma'am. Confirm anything you plan around against your official board document. We never ask for a password or an OTP.




