a=9, b=9 - How? 🤯 | Tricky C Programming MCQ | Post-increment vs Pre-increment | #shorts  #exam

a=9, b=9 - How? 🤯 | Tricky C Programming MCQ | Post-increment vs Pre-increment | #shorts #exam

a=9, b=9 কী করে হলো? 🤯 C Language-এর Post-increment (a++) vs. Pre-increment (++b) -এর Concept-টি বুঝুন এই C Programming MCQ-এর মাধ্যমে। (In this video, we explain the difference between post-increment and pre-increment in C.) ✅ Key Concept - Step-by-Step: Initial Values: a = 8, b = 20 1. *`b = a++;` (Post-increment)* `b` gets the current value of `a`. (So, `b = 8`). *Then*, `a` is incremented. (So, `a = 9`). After this line: `a` is 9, `b` is 8. 2. *`a = ++b;` (Pre-increment)* `b` is first incremented. `b` was 8, so `b` becomes 9. This new value (9) is assigned to `a`. (So, `a = 9`). After this line: `a` is 9, `b` is 9. This is a classic C interview question! Did you get it right? #cprogramming #cprogramminginbengali #clanguage #gate #jeca #computerscience #bengali #coding #programming #bitlearner #shorts