how many error occurs in C language ?
Answers were Sorted based on User's Feedback
Answer / kawal
Errors may be compile time and run time. compile time
errors are the logical errors and syntax errors whic are
indicated by the compiler after the compilation errors. The
errors which occur after the copilation are runtime errors
Is This Answer Correct ? | 103 Yes | 30 No |
Answer / guest
3 types of error occurs in c language ie syntax error,
segment error, and linking error.
syntax error and segment error occurs during compailation
and linking error occurs during runtime
Is This Answer Correct ? | 58 Yes | 28 No |
Answer / jayasrinivas.donavalli
How can we say how many errors in C language,but Usually
Every Language has some errors like Syntaical and
Symantical Errors
Syntatical Errors are the error in the syntax like int x.
but here instead of semi colon we palce dot that is the
syntatical error.
Symantical Errors: The errors are in the symantics like If
is the keyword instead of that we write ef
then the meaning is changed that is symantical errors.
The above two errors are Compile time errors and we have
some runtime errors.They are due to some infinite loops
garbage collection or memory shortage or wrong Inputs
Is This Answer Correct ? | 26 Yes | 6 No |
Answer / ramajayam
many types error in c language but commonly three types of
error first one syntax error means if any one create a
program in c language to write some codings at that time
the person declared a variable properly for ex:
he create a coding intx; no space in variable name and data
type at that he compiling the program system ask one error
in your program the error is syntax error in particular
line you will not declared properly.
second one logical error
logical error means some input function are output function
is typed wrong at that this type of error occur in your
program for ex: you type input function scan("");
this type of error is run time error
Is This Answer Correct ? | 22 Yes | 4 No |
Answer / yuvaraj
Hi kalpana please read and understand the question properly
before answering the question,please dont be too smart.
Is This Answer Correct ? | 25 Yes | 11 No |
Answer / arpit dhandhania
I think that the question is HOW many errors and not how many types of errors.
According to me the answer is 26
Because maximum of 25 errors are counted by the C compiler in any program and the 26th error is "TOO MANY ERRORS".
So the answer in 26...
Is This Answer Correct ? | 21 Yes | 13 No |
Answer / sarath
1-Compilation error
a)syntax error
b)segment error
2-Runtime error
a)logical error
b)linking error
most f de people here are knowledge banks, i knw
but whats the use if u cant be specific to qs askd?
hope firther posts wud be answered precisly atleast like
this...
Is This Answer Correct ? | 12 Yes | 5 No |
Answer / 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 |
Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58
what is the stackpointer
implement NAND gate logic in C code without using any bitwise operatior.
What is alloca() and why is its use discouraged?
The program to allow the characters from the input received and send this function to a function check if the characters between letters a to z is a function of y joins as the characters main and output to otherwise return to the original function of the y characters
Why is c not oop?
What is a null pointer in c?
Why does everyone say not to use scanf? What should I use instead?
what r callback function?
Who invented b language?
Is c easy to learn?
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.