You are here:

C/error in c language

Advertisement


Question
what is syntax error, logical error & data error in c language, if there is any other in thi language please tell me .

Answer
Every language has got set of rules.
If you make a mistake while using the language, then it is called syntax error.

You are writing program to solve a problem.
So, there is a set of input and you expect some output.
If there is difference between the expected o/p and actual o/p, then your program logic is wrong. This is called Logical Error.

I haven't heard about "Data Error"! Is it that, the input data itself is wrong!?
If so, then it is not related to C programming....it is the problem with the person inputting the data!

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Narendra

Expertise

I can answer questions in C related to programming, data structures, pointers and file manipulation. I use Solaris for doing C code and if you have questions related to C programming on Solaris, I will be able to help better.

Experience

6.5

Organizations belong to
Sun Microsystems

Awards and Honors
Brain Bench Certified Expert C programmer.
Advanced System Software Certified

©2012 About.com, a part of The New York Times Company. All rights reserved.