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 |
Why c++ is called c++ and not c+?
what is the use of keyword volatile??
what are threads ? why they are called light weight processes ? what is the relation between process and threads ?
What is the purpose of realloc()?
How do you initialize pointer variables?
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
Can I initialize unions?
How is null defined in c?
What is 2 d array in c?
how can i make a program with this kind of output.. Enter a number: 5 0 01 012 0123 01234 012345 01234 0123 012 01 0
What is switch in c?
how to swap two integers 1 and 32767 without using third variable