Answer Posted / ashu
divide the given no by two n store the remainder in stack
and divide again by 2 to quotent the process gong on....
n store all the remainder in the same stack....
n in last pop all the element from stack n print it.
Is This Answer Correct ? | 11 Yes | 4 No |
Post New Answer View All Answers
What is bin sh c?
What is break statement?
Why do we use main function?
What is %g in c?
How can I get back to the interactive keyboard if stdin is redirected?
can we implement multi-threads in c.
How can you determine the maximum value that a numeric variable can hold?
What language is c written?
Explain what are binary trees?
What does int main () mean?
Whats s or c mean?
Explain what is the heap?
Explain the priority queues?
What is use of integral promotions in c?
Why is structure padding done in c?