ONLINE DEBUGGING CONTEST August 2013 - by Arthi

32
Fine...Many of u tried well.Since it's getting late I'm going to tell the answer.

This is just a basic concept of oops.In OOPS you would have seen some concepts like classes,nested classes, nested loops.

But in OOPS there is no concepts called "nested loops"

(i.e) we can't use a function inside any other function. The function can be declared and called either by using objects or not using objects.

Here I have used two functions namely get() and dis() inside the main function.This is the bug in the given code.

Hence the correct code is


.txt   DEBUGG.txt (Size: 654 bytes / Downloads: 120)
Fear is a reaction,but courage is a destination
Great friend!!!! Really good work..

My personal request to @Srini is you can give her +1 repute

Well done @Arthi Singaravelan
If you want to win the world, be ready to lose yourself!!


Rocky Welcomes you!!!! Sniper
Nice Explanation.. +2 Reputed @Arthi Singaravelan
New Share your Study Materials with us : Click Here

    ONLINE DEBUGGING CONTEST August 2013 - by Arthi