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


Please Help Members By Posting Answers For Below Questions

Can a pointer be null?

565


How can my program discover the complete pathname to the executable from which it was invoked?

660


How can you avoid including a header more than once?

565


Explain what is meant by high-order and low-order bytes?

635


What is the size of structure in c?

702






What is sizeof c?

609


write a program to create a sparse matrix using dynamic memory allocation.

4373


Here is a neat trick for checking whether two strings are equal

566


what is reason of your company position's in india no. 1.

1777


Here is a good puzzle: how do you write a program which produces its own source code as output?

599


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

707


What are the different file extensions involved when programming in C?

758


What are inbuilt functions in c?

560


What are the advantages of using linked list for tree construction?

645


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

636