Bug is a error during execution of the program. There are two types of bugs: syntax and logical.
[Source: JAGAN MOHAN "Interview questions bible"]
[Source: JAGAN MOHAN "Interview questions bible"]