COMMON PROGRAMMING ERRORS - FUNDAMENTALS

COMMON PROGRAMMING ERRORS - FUNDAMENTALS
  1. Not putting semicolon after C statements like printf() or scanf().
  2. Not including required header files.
  3. Parenthesis not matching in printf() or scanf().
  4. Not including double quotes in printf().
  5. Not putting comma between identifiers.
  6. Including space in identifiers.
  7. using wrong conversion character in scanf() or printf().
  8. Not including address of operator ( & ) in scanf().
  9. Using address of operator ( & ) in printf().
  10. Not giving precedence to expression wherever required like a + b / 2 is different from ( a + b ) / 2.

Share this

Related Posts

Previous
Next Post »