answersLogoWhite

0

How computer handle semantic error?

User Avatar

Anonymous

13y ago
Updated: 8/20/2019

Semantic error are logical errors. That does mean, it would compile and run without errors. But, the output would be different from the expected output.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is a semantic error in vb and give examples?

An example of semantic error is: a+b = c.


What is the environment in Rome?

sorry error in your computer please reset your computersorry error in your computer please reset your computersorry error in your computer please reset your computersorry error in your computer please reset your computersorry error in your computer please reset your computersorry error in your computer please reset your computersorry error in your computer please reset your computersorry error in your computer please reset your computersorry error in your computer please reset your computersorry error in your computer please reset your computersorry error in your computer please reset your computersorry error in your computer please reset your computersorry error in your computer please reset your computersorry error in your computer please reset your computersorry error in your computer please reset your computersorry error in your computer please reset your computer


What is Semantic errors in c?

A semantic error is a logic error. That is, the code may compile and run, but does not perform as you intended. Some semantic errors can be picked up by the compiler, often shown as warning, such as: if (x = 5) // warning: did you mean x == 5? Others are simply impossible for the compiler to spot: int x, y, z; // ... ++z; // add 1 to x In the above code, we meant to increment x, but incremented z instead. The compiler won't notice the error so this will inevitably lead to a runtime error.


What does semantic mean?

semantic:


What is the difference between a semantic error and logic error?

An error in the logic of a program means that the output of the program is faulty (eg the program tell you 2+2=5). An error in semantics in a program means that the program statements are not constructed properly and the usual result of this is that the program will not compile.


What are the example of semantic noise?

What are the examples of semantic noise What are the examples of semantic noise


What is lift semantic diagram?

semantic


Why does your computer restart everytime you try to load counter strike source?

Your computer might not be able to handle the game, check any error notices to see if there is an easy fix. Otherwise, you might need to buy new hardware.


Will your computer handle Minecraft with no lag?

That depends on your computer.


What is a semantic web?

The word semantic stands for the meaning of. The semantic of something is the meaning of something. The Semantic Web is a web that is able to describe things in a way that computers can understand.


Can your computer handle Skyrim?

no


Difference between semantic error and logical errors?

Syntax Error: error due to missing colon, semicolon, parenthesis, etc. Syntax is the way in which we construct sentences by following principles and rules. Example: In C++, it would be a syntax error to say int x = "five"; This will not compile because it does not follow the syntax of the language and does not make any sense to the compiler. Semantic Error: it is a logical error. it is due to wrong logical statements. Semantics is the interpretations of and meanings derived from the sentence transmission and understanding of the message. Semantics errors are Logical, while Syntax errors are code errors. Example: A semantic error would compile, but be incorrect logically: const int pi = 12345; Your program will likely compile and run without error but your results will be incorrect. (Note that these types of errors are usually much harder to debug)