how many error occurs in C language ?
Answer Posted / mrs.ahmer
There are three types of errors in C language.
1:syntax error:-It occurs if The statement terminator is
missing at the end of statement,A misspelled keyword is
used in the program,Any of the delimiters is missing.
2:Logical error:-It occurs due to wrong logic of
programmer.it usually occurs when programmer writes wrong
formula to calculate the result.
3:Runtime error:-A type of error that occurs during the
execution of a program is known as runtime error.If user
may ask the program to open a file that does not exist or
the user may enter wrong type of data.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is meant by preprocessor in c?
What is echo in c programming?
What is extern c used for?
When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.
What is difference between %d and %i in c?
Where register variables are stored in c?
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
What is file in c preprocessor?
What is union in c?
What is variable declaration and definition in c?
Explain a file operation in C with an example.
What are control structures? What are the different types?
What is the difference between malloc() and calloc()?
What will the preprocessor do for a program?
What are the different types of C instructions?