Science, asked by Anonymous, 4 days ago

Explain Semantic Errors ‽​

Answers

Answered by iqbalmanhas15
1

Answer:

A semantic errors occur when a statement is syntactically valid , but does not do what the programmer intended.

Answered by Anonymous
2

Answer:

In some ways, semantic errors are the hardest to debug, because the interpreter provides no information about what is wrong. Only you know what the program is supposed to do.

In some ways, semantic errors are the hardest to debug, because the interpreter provides no information about what is wrong. Only you know what the program is supposed to do.The first step is to make a conne.ction between the program text and the behavior you are seeing. You need a hypoth.esis about what the pro.gram is actually doing. One of the things that makes that hard is that compu.ters run so fast.

ters run so fast.You will often wish that you could slow the program down to human speed, and with some debug.gers you can. But the time it takes to insert a few well-placed print statements is often short compared to setting up the deb.ugger, inserti.ng and removing breakpo.ints, and “stepp.ing” the program to where the error is occurring.

sir,

bhul gya kya XD?

Teri pin ID bta de bhai.. shreey here..

aur kripya on aane ka kasht kriye!

Similar questions