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 |
Where local variables are stored in c?
What is a Genralised LInked List?? Please give a detailed explation of it..
List some of the dynamic data structures in C?
What are the types of assignment statements?
Why we use conio h in c?
How can I do serial ("comm") port I/O?
How do you write a program which produces its own source code as its output?
In which layer of the network datastructure format change is done
why 'c' is called middle level language.
Is c language still used?
What is a method in c?
difference between memcpy and strcpy