Q11 A positive integer is entered through the keyboard, write a function to find the binary equivalent of this number: (1) Without using recursion (2) Using recursion
Program: 132
A positive integer is entered through the keyboard, write a function in c language to find the binary equivalent of this number:
(1) Without using recursion
(2) Using recursion
How to use recursion to get the binary digit using decimal number.
Output:
Enter Number: 10 Decimal To Binary Using Recursion: 1010 Decimal To Binary Without Using Recursion: 1010