error in c

R

rajavel

Hi,

Runtime Error occurs after occurs after you execute a program. Example
is StackOverFlow, Invalid Pointer reference

Compile Time Error - If this Error occurs you will not be able to
execute ur program

Syntax Error - Compile time Error occurs since the syntax in not
correct
So, Compilation error and syntax error are same

Execution Error - ??? No idea.please replay

Logic Error - Any program is developed to solve a manual work. To
computerize a manual work, logic for program is important.. If the
programmer has created a wrong logic then obviously the program will
not provide expected results. This is Logic error.
 
P

pemo

rajavel said:
Hi,

Runtime Error occurs after occurs after you execute a program. Example
is StackOverFlow, Invalid Pointer reference

Compile Time Error - If this Error occurs you will not be able to
execute ur program

Syntax Error - Compile time Error occurs since the syntax in not
correct
So, Compilation error and syntax error are same

Execution Error - ??? No idea.please replay

Logic Error - Any program is developed to solve a manual work. To
computerize a manual work, logic for program is important.. If the
programmer has created a wrong logic then obviously the program will
not provide expected results. This is Logic error.

Is there a question in here somewhere?
 
E

Eric Sosman

rajavel said:
Hi,

Runtime Error occurs after occurs after you execute a program. Example
is StackOverFlow, Invalid Pointer reference

Compile Time Error - If this Error occurs you will not be able to
execute ur program

Syntax Error - Compile time Error occurs since the syntax in not
correct
So, Compilation error and syntax error are same

All syntax errors are compile-time errors, but some
compile-time errors are not syntax errors. For example,
there is no syntax error in

int x;
double x;

.... yet the compiler is required to produce a diagnostic.
Execution Error - ??? No idea.please replay

An error that occurs during execution of the program.
In other words, a run-time error.
Logic Error - Any program is developed to solve a manual work. To
computerize a manual work, logic for program is important.. If the
programmer has created a wrong logic then obviously the program will
not provide expected results. This is Logic error.

It is difficult and perhaps impossible to categorize
errors this precisely, or even to define exactly what is
meant by "error." For example, a program that correctly
computes the intended result but takes a long time to do
so might be considered just "slow," or could be called
"erroneous" if the answer arrives too late to be useful.
Correctness can be a lot like beauty: both are in the eye
of the beholder.
 
M

Mark McIntyre

Here is a good one... What are the definitions of

task: a posh elephant's tooth, dahling

process : what you do to giblets to create the original spam

thread : mychorriza
 
C

Chris Hills

Mark McIntyre said:
task: a posh elephant's tooth, dahling

process : what you do to giblets to create the original spam

thread : mychorriza


Brilliant... I think we definitely have the definite definition!

Please use this for all home work questions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,175
Messages
2,570,942
Members
47,476
Latest member
blackwatermelon

Latest Threads

Top