why am i getting run time error
https://ide.codingblocks.com/s/60177
Decimal To Octal
When the number is updated , it is n = n/8 ; instead n = n%8 . We have to take the quotient which will be the next dividend and not the remainder .
Hey Pratik, as you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.
Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.