KwickClips C++ · 41 sec · free
Where does enum counting start?
Short answer. 0.
What does typedef do?
Gives an existing type a new name.
Remember
| enum counts from 0 |
| typedef renames a type |
Predict the output. Is it three? An enum names whole number constants. Counting starts at zero, so WED is two. Typedef simply gives a type a new name. Remember this. Enum counts from zero. Typedef renames a type.
This clip is from the full lesson: Structures, Unions, Enumerations and typedef — 6 minutes, with the tables, the quick answers and the whole lesson in text.
Useful for: GSEB Std 10 Computer Studies, GSEB Std 10 Computer Studies, GSEB Std 10 Computer Studies, 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.



![Table: variable uses dot s.marks, pointer uses arrow p->marks, array uses c[1].roll.](/images/learn/clips/C14-R2.webp)
