answersLogoWhite

0


Best Answer
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.
User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Examples of logical errors in c program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Name the program that is needed to locate the beginning of the os an a drive?

logical drive C.


What are the c program errors?

Here is some examples: #inlude <siotd.h> main int (argc int, argv **int) { outs ("Won't compile"); return 0; }


How many bytes does an Boolean take in a c program?

There is no boolean in C, we usually use int/short/char to store logical values.


What is main function used in c?

if you do not used main function in c program when errors are accrued


How do you check errors in turbo c?

Most programming languages have a 'debugger' to indicate where coding errors are. Look in the help pages of your Turbo C program


What are the drawbacks to c compiler?

It cannot automatically correct the errors of the source program.


Where is the examples folder on game maker 7.0 lite?

C:\Program Files (x86)\Game_Maker7 if you have a windows 7 if you have an older computer it should be in C:\Program Files\Game_Maker7


Write a program in C for arithmetic operations between two integers your program should guide users with proper message or menu on the console?

Write a program in C for showing working of different logical operator in C.Your program should guide users with proper message/menu on the console. (5 Marks)


Different parameter passing methods with examples?

explain parameter passing methods c program


Memory is empty but it says memory full in data c?

You have one or more errors in your program.


What has the author C A Qadir written?

C. A. Qadir has written: 'Logical positivism' -- subject(s): Logical positivism


How many types of logical operators in c only?

There are three logical operators in C; AND (&), OR (|), and NOT (^). These are the bitwise versions. The combinatorial versions are &&, , and !.