how many error occurs in C language ?

Answer Posted / ravi raj

Mainly there are 5 types of error that occur which are as :-
1.syntax error:- Error in syntax(gramer)of program.
2.semantic error:-Error in meaning of program.
3.logical error:-error in logic(logic and,or,not)which
compiler can not identify/check.
4.runtime error:-Error which occur due to insufficient of
memory, floating exception etc.
5.compile error:-Error that occur in compiling of program like
phrase error, in complete type, bad argument, can not locate
object etc.

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is calloc better than malloc?

565


What is the equivalent code of the following statement in WHILE LOOP format?

758


How is pointer initialized in c?

577


What is meant by inheritance?

622


How do you list a file’s date and time?

622






Can variables be declared anywhere in c?

612


What does c in a circle mean?

572


What is the purpose of sprintf?

610


What is string function c?

558


What is meant by type specifiers?

651


List the variables are used for writing doubly linked list program.

1611


Why is c platform dependent?

610


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

2445


a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above

678


What is 2 d array in c?

544