Quick links
Latest articles
Internship
Members
New...
Algorithms
Discrete Mathematics
Big data
Languages
C
C++
C++ STL
Java
Data Structure
C#.Net
Android
Kotlin
SQL
Web
PHP
Python
JavaScript
CSS
Ajax
Node.js
Web prog.
Programs
C
C++
DS
Java
C#
Python
Aptitude
C
C++
Java
DBMS
Interview
C
Embedded C
Java
SEO
HR
CS Subjects
CS Basics
O.S.
Networks
DBMS
Embedded Systems
Cloud Computing
Machine learning
CS Organizations
Linux
DOS
More...
Articles
Puzzles
News/Updates

Home » C programs

Common C program Errors



This section contains Common C program errors and their solutions. Here, we will learn by examples how and when an error occurs and how to fix it?

  1. Error: undefined reference to 'main' in C
  2. Error: Expected ';' before 'return' in C
  3. Error: expected ')' before ';' token in C
  4. Error: missing terminating double quote character in C
  5. Error: 'Hello'/Text undeclared while printing Hello world using printf()
  6. Error: expected declaration specifies before printf in C
  7. Error: expected declaration or statement at end of input in C
  8. Fatal Error: stio.h: No such file or directory in C
  9. Error: Invalid escape sequence in C
  10. Error: Unterminated comment (Invalid comment block) in C
  11. Error: Assign string to the char variable in C
  12. Error: Assignment of read-only variable in C
  13. Error: 'else' without a previous 'if' in C
  14. Error: case label does not reduce to an integer constant in C
  15. Error: duplicate case value in C
  16. Error: Executing more than one case block in C
  17. Error: switch quantity not an integer in C
  18. Error: case label not within a switch statement in C
  19. Error: Expected '}' before 'else' in C
  20. Error: expected '=', ',', ',' 'asm' or ' _attribute_' before '<' token in C
  21. Error: Id returned 1 exit status (undefined reference to 'main')




Quick links:
C FAQ(s) C Advance programs C/C++ Tips & Tricks Puzzles JavaScript CSS Python Linux Commands PHP Android Articles More...

Featured post:
Introduction to Linux (Its modes, Safety, Most popular Applications)
Linux Best Distribution Software (Distros) of 2018

Was this page helpful? Please share with your friends...

Are you a blogger? Join our Blogging forum.

Comments and Discussions



Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing » Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates


© https://www.includehelp.com (2015-2018), Some rights reserved.