Mini Map
Log In
C Brain Teasers: Exercise Your Mind
0%
1.
Before We Begin
Why This Course?
Puzzle Structure
2.
Puzzles
Count the Digits
Discussion: Count the Digits
A Fraction of an Int
Discussion: A Fraction of an Int
String or Not?
Discussion: String or Not?
Hello, stdin
Discussion: Hello, stdin
Loop Up and Down
Discussion: Loop Up and Down
String Construction
Discussion: String Construction
More Simple
Discussion: More Simple
Whoa! Hold on There
Discussion: Whoa! Hold on There
Say It Again—Or Not
Discussion: Say It Again—Or Not
Deciphering scanf()
Discussion: Deciphering scanf()
What is Nothing?
Discussion: What is Nothing?
On the Case
Discussion: On the Case
Bits and Pieces
Discussion: Bits and Pieces
Teeny Tiny Math
Discussion: Teeny Tiny Math
It Just Can’t Be Done
Discussion: It Just Can’t Be Done
Misallocation
Discussion: Misallocation
Eenie, Meenie, Miney, Mod
Discussion: Eenie, Meenie, Miney, Mod
Superhero’s Secret Identity
Discussion: Superhero’s Secret Identity
Cursing Recursion
Discussion: Cursing Recursion
Time to Pull Out Your Hair
Discussion: Time to Pull Out Your Hair
You See It Everywhere
Discussion: You See It Everywhere
Calculating Nested Values
Discussion: Calculating Nested Values
Forget the sqrt() Function
Discussion: Forget the sqrt() Function
This Should Ring a Bell
Discussion: This Should Ring a Bell
More Math, but Fun This Time
Discussion: More Math, but Fun This Time
3.
Wrap Up
Conclusion
4.
Appendix
Further Reading
Project
Premium
Write a Shell in C
Practice Mock Interview
C Brain Teasers: Exercise Your Mind
/
...
/
Loop Up and Down
Loop Up and Down
Test your C programming skills by solving the given puzzle about for loops.
We'll cover the following...
Puzzle code
...