C program for all number conversion.

I have created a C program for all number conversion, its a small application using C language. I have used printf’s various format specifiers to minimize the code and utilizing the available features of printf function.

These are some of format specifiers used in the code.
  • %d => for signed decimal integer.
  • %o => unsigned octal integer.
  • %X => unsigned hexadecimal integer.
The number conversions supported by this code are listed below.
  • Binary to Octal
  • Binary to Decimal
  • Binary to Hexadecimal
  • Octal to Binary
  • Octal to Decimal
  • Octal to Hexadecimal
  • Decimal to Binary
  • Decimal to Octal
  • Decimal to Hexadecimal
  • Hexadecimal to Binary
  • Hexadecimal to Octal
  • Hexadecimal to Decimal

C program for all number conversion
All Number Conversions using C

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.