In this exercise, we learn how to write a C program to decimal to binary without using arithmetic operators?. We will write the C program to decimal to binary number without using arithmetic operators. Write a C program to input the decimal number and convert it to a binary number without using arithmetic operators. How to convert decimal to binary number in C programming without using arithmetic operators. Logic to convert decimal to binary number in C without using arithmetic operators.
Example,
The below program ask the user to enter the decimal number. After getting the value from the user it will convert the decimal number into a binary number.
Output:
Enter decimal number: 12
Converted binary is: 00000000000000000000000000001100
need an explanation for this answer? contact us directly to get an explanation for this answer