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
Can a pointer be null?
How can my program discover the complete pathname to the executable from which it was invoked?
How can you avoid including a header more than once?
Explain what is meant by high-order and low-order bytes?
What is the size of structure in c?
What is sizeof c?
write a program to create a sparse matrix using dynamic memory allocation.
Here is a neat trick for checking whether two strings are equal
what is reason of your company position's in india no. 1.
Here is a good puzzle: how do you write a program which produces its own source code as output?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
What are the different file extensions involved when programming in C?
What are inbuilt functions in c?
What are the advantages of using linked list for tree construction?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }