Chapter 26
Ten Common Boo-Boos
IN THIS CHAPTER
Conditional foul-ups
== v. =
Dangerous loop semicolons
Commas in for loops
Missing break in a switch structure
Missing parentheses and curly brackets
Pay heed to that warning
Endless loops
scanf() blunders
Streaming input restrictions
The programming adventure has its pitfalls. Many of them are common; the same mistakes, over and over. Even after decades of coding, I still find myself doing stupid, silly things. Most often they’re done in ...
Get C Programming For Dummies, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.