Category Archives: Debug Exercise

Problems-Basics

4-Problem What is the output of the following code sample? For Solution, see under the solutions category. 3-Problem What is the output of the following code sample? For Solution, see under the solutions category. 2-Problem What is the output of … Continue reading

Posted in Basic | Leave a comment

Solutions-Basics

4-Problem Output: Hi Why? In line no.5, inside the ‘if’ condition i.e if (x = 5) the operator used is assignment not the comparison. The intention of the condition is to compare two values but due to typo, instead of … Continue reading

Posted in Basic | Leave a comment