Undefined Symbol in turbo C

Asked By 10 points N/A Posted on -
qa-featured

Good day!

I have a problem with my program in turbo C.

I created a simple division program but it keeps giving this error:

‘Undefined Symbol’

I already declared it, but it still returns the same error.

I don’t know how to fix this anymore; I keep trying to change the variable but it still doesn’t work.

SHARE
Best Answer by Laura Turner
Answered By 0 points N/A #83108

Undefined Symbol in turbo C

qa-featured

Hi Andrew,

Could you please provide me with the program so that I can try to rectify your problem?

Best Answer
Best Answer
Answered By 0 points N/A #83109

Undefined Symbol in turbo C

qa-featured

Several things may happen:

1.  May be there is a problem with the declaration.
 2. May be the written code is faulty.

To solve the problem, go and check your code again or if you want a solution from me please send me the code. Otherwise, I cannot provide anything further regarding your problem.

Answered By 0 points N/A #83110

Undefined Symbol in turbo C

qa-featured

What TURBO C is trying to say is that it cannot find the symbol or variable you used in your program.

There are certain rules in Turbo C that must be followed correctly in order for the program to run.

If you are having problems with the error "Undefined Symbol", kindly check your syntax.

If it is not with the syntax, maybe it's on the way you write the variable name. In Turbo C, variable declaration is very strict when it comes to naming. A variable name "Abc" is not equal to "abc". If you declared something like this "int abc", then you should use that "abc" for the rest of the program.

Another thing is, make sure your datatype is written in lowercase; For example, it should be "int x;"  not  "Int x;" or "INT x;"

Login/Register to Answer

Related Questions