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
Why C language is a procedural language?
Can static variables be declared in a header file?
Why do we need arrays in c?
Why c is faster than c++?
What is difference between structure and union in c programming?
How is = symbol different from == symbol in c programming?
Write a program which returns the first non repetitive character in the string?
Describe the order of precedence with regards to operators in C.
Describe wild pointers in c?
What are the two types of functions in c?
What is signed and unsigned?
What is the difference between strcpy() and memcpy() function in c programming?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
What is non linear data structure in c?
Should I learn c before c++?