- Not putting semicolon after C statements like printf() or scanf().
- Not including required header files.
- Parenthesis not matching in printf() or scanf().
- Not including double quotes in printf().
- Not putting comma between identifiers.
- Including space in identifiers.
- using wrong conversion character in scanf() or printf().
- Not including address of operator ( & ) in scanf().
- Using address of operator ( & ) in printf().
- Not giving precedence to expression wherever required like a + b / 2 is different from ( a + b ) / 2.
C Programming Tutorial
Common Programming Error
Fundamental
Learn C
COMMON PROGRAMMING ERRORS - FUNDAMENTALS
Next
« Prev Post
« Prev Post
Previous
Next Post »
Next Post »
Subscribe to:
Post Comments (Atom)