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
Why C language is a procedural language?
What is the difference between far and near ?
How can I recover the file name given an open stream?
code for replace tabs with equivalent number of blanks
simple program of graphics and their output display
What is a file descriptor in c?
Do pointers need to be initialized?
Explain Basic concepts of C language?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
Write a program to know whether the input number is an armstrong number.
write a program to rearrange the array such way that all even elements should come first and next come odd
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
What is the use of typedef in c?
What is the difference between if else and switchstatement