0

How to find the bug in the code ?

Help plz

3rd Sep 2021, 8:38 AM
PRIYANSHU GOYAL
PRIYANSHU GOYAL - avatar
3 odpowiedzi
+ 3
?
3rd Sep 2021, 8:40 AM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 3
Pretty hard to find the bug when no code has been presented, & 3 languages to choose from. Can you be a bit more specific with your question
3rd Sep 2021, 8:45 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Your question needs more explanation. But generally, look at the error message given by the compiler(or the interpreter). Line number will be mentioned there most of the times(Some extra information will be given too, try to understand them if you can). Look that the line number mentioned there, and see if you can find something wrong in that line of code. The error could also be a few lines before or above the line mentioned by the compiler(or interpreter). If your question was more specific, I could have tried to answer more specific :)
5th Sep 2021, 2:56 AM
Rishi
Rishi - avatar