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 string function c?

575


Differentiate call by value and call by reference?

575


What are the differences between Structures and Arrays?

618


What does the error 'Null Pointer Assignment' mean and what causes this error?

750


What is exit() function?

570






What is the purpose of & in scanf?

608


How do you define a function?

593


Explain what is wrong with this program statement?

632


What is maximum size of array in c?

591


Explain what is the difference between functions getch() and getche()?

616


What is wrong in this statement? scanf(ā€œ%dā€,whatnumber);

735


Describe how arrays can be passed to a user defined function

792


What are header files in c?

627


write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.

1524


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

1504