You have one or more errors in your program.
Logical errors :- These errors occur because of logically incorrect instructions in the program. Let us assume that in a 1000 line program, if there should be an instruction, which multiplies two numbers and is wrongly written to perform addition. This logically incorrect instruction may produce wrong results. Detecting such errors are difficult.
c program was introduced in the year 1972 by Dennis RitchieNo, it was the C language, not the C program.
Logic errors are often the most difficult to find in C programming because they do not produce compiler errors or crashes; instead, they result in incorrect program behavior or output. These errors stem from flaws in the program's logic, such as incorrect algorithms or conditions that don’t account for all scenarios. Debugging logic errors usually requires careful analysis of the code and thorough testing, making them less straightforward to identify compared to syntax or runtime errors.
Debugging is a way of running the program to locate any errors that may arise at run-time.
Debugging
if you do not used main function in c program when errors are accrued
Most programming languages have a 'debugger' to indicate where coding errors are. Look in the help pages of your Turbo C program
Debugging makes the program works fast while maintainance makes the program slow
It cannot automatically correct the errors of the source program.
You have one or more errors in your program.
Logical errors :- These errors occur because of logically incorrect instructions in the program. Let us assume that in a 1000 line program, if there should be an instruction, which multiplies two numbers and is wrongly written to perform addition. This logically incorrect instruction may produce wrong results. Detecting such errors are difficult.
Removing it from your comp.
the features of a C program
c program was introduced in the year 1972 by Dennis RitchieNo, it was the C language, not the C program.
Logic errors are often the most difficult to find in C programming because they do not produce compiler errors or crashes; instead, they result in incorrect program behavior or output. These errors stem from flaws in the program's logic, such as incorrect algorithms or conditions that don’t account for all scenarios. Debugging logic errors usually requires careful analysis of the code and thorough testing, making them less straightforward to identify compared to syntax or runtime errors.
Debugging is a way of running the program to locate any errors that may arise at run-time.