Tag: C program
C Program to convert decimal number to binary
Problem Write a program in C to convert a decimal number to binary number How to convert a decimal number to binary number in C ? Output Abundantcode.com Coding samples Enter a decimal number: 10 1010
C Program to convert Binary Number to Decimal
Problem Write a program in C to convert a binary number to decimal number. How to convert a binary number to decimal number in C ? Output Abundantcode.com Coding samples Enter a binary number: 1101 13 in decimal
C Program to display "Hello, World!"
Problem Write a program in C to display “Hello, World!” on the screen. C Program to display “Hello, World!” in Console Window. In the above example , the #include<stdio.h> is a preprocessor command that informs the compiler to include the stdio.h header file in the program. This header file includes some of the commonly used functions like scanf and printf which are used to read…