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

What is ambagious result in C? explain with an example.

2297


Why do we use int main?

835


What is main function in c?

771


What is #line?

815


Is c is a low level language?

793


Is it possible to pass an entire structure to functions?

764


In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

2879


Which is best linux os?

761


What is C language ?

1710


How was c created?

802


What is the data segment that is followed by c?

825


What is a pointer on a pointer in c programming language?

846


Describe how arrays can be passed to a user defined function

1007


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

1791


Explain why C language is procedural?

970