Author: Ajay Dabade

C Programming12 min read

Operator Precedence and Associativity in C

Look at this line of C: 2 + 3 * 4. What is the answer? If you read left to right like a sentence, you get 5 * 4 = 20. But C says 14. Why? Because C has two sets of rules…

C Programming13 min read

The for Loop: Definite Repetition in C

Back in the Algorithms post, several algorithms shared the exact same shape — a counter starting at 1, a condition checking whether to keep going, and a step that moved…

C Programming16 min read

Decision and Case Control: if and if-else in C

Every decision your program will ever make comes down to one basic tool: the if statement. But if on its own has real limits — and understanding exactly where those…

C Programming13 min read

Bitwise and Special Operators in C

Every value in C — no matter its type — is ultimately just a pattern of bits in memory, as the “Data Types in C” post explained. Most of the operators you’ve used so far…