Click here to Skip to main content
15,039,214 members
Please Sign up or sign in to vote.
1.00/5 (5 votes)
See more:
I want to know the answer for my question please respond......

What I have tried:

I have tried nothing I just have a doubt I want to clarify
Updated 10-Jan-20 4:07am
Patrice T 10-Jan-20 9:29am
This is not a question.

Neither. Logical errors are determined by testing, peer review, proof reading.
CPallini 10-Jan-20 10:02am
OriginalGriff 10-Jan-20 10:02am
jeron1 10-Jan-20 10:21am
Truth! +5
To add to what Chill60 says, there is only one C++ interpreter IIRC, and frankly, that couldn't indicate a logical error in anything. It has enough trouble with running code ...
From Logic error - Wikipedia[^] :
Unlike a program with a syntax error, a program with a logic error is a valid program in the language.
So, neither the compiler nor the intepreter can spot it, as already stated by CHill60.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900