Embed presentation
Download to read offline

This C program converts a decimal number to binary by using bitwise operators to iterate through each bit position from most significant to least significant. It uses a right shift operator to test each bit and prints a 1 or 0 accordingly, outputting the binary representation of the decimal number entered by the user.
