Menu Driven Program using Switch Case in C

In this tutorial, we will write a menu-driven program in C. We will use the switch case statement present in C to create menus or options. Before that, you may go through the following topic in C programming. C Menu-driven Program using switch case: This is a menu program in C that displays a menu … Read more

C Program to check whether a Number is Binary or Not

In this tutorial, we will write a program to check for the binary number in C. What is a Binary Number? A binary number is a number expressed in the base-2 numeral system that is the number that contains 2 symbols to represent all the numbers. The symbols are 0 and 1. For example: 101011, 110011110, 10001111 are binary numbers. … Read more

C Program to Convert Hexadecimal to Octal

In this tutorial, we will write a program to convert hexadecimal to octal in C. Before that, you must have knowledge of the following topics in C. Hexadecimal number The hexadecimal number is represented with a base of 16. It has digits from 0 to 15 to represent, However after 9 the values are represented … Read more

C Program to Convert Octal to Hexadecimal

In this tutorial, we will write a program to convert octal to hexadecimal in C. Before that, you must have knowledge of the following topics in C. Hexadecimal number The hexadecimal number is represented with a base of 16. It has digits from 0 to 15 to represent, However after 9 the values are represented … Read more

C Program to Convert Decimal to Hexadecimal

This is a C Program to Convert a Decimal Number to its Hexadecimal Equivalent. Before that, you must have knowledge of the following topics in C. Hexadecimal number The hexadecimal number is represented with a base of 16. It has digits from 0 to 15 to represent, However after 9 the values are represented in … Read more

C Program to convert Hexadecimal to Decimal

This is a C Program to Convert a Hexadecimal Number to its decimal Equivalent. Before that, you must have knowledge of the following topics in C. Hexadecimal number The hexadecimal number is represented with a base of 16. It has digits from 0 to 15 to represent, However after 9 the values are represented in … Read more