We will see two programs to swap two numbers. In the first program we are swapping two numbers using a temporary variable and in the… [Read More]
C Program to find the Size of int, float, double and char
This program finds the size of data types such as char, int, float, double. Example: Program to find the size of data types in C… [Read More]
C Program to Convert Decimal Number to Binary Number
This program converts a decimal number to an equivalent binary number. Example: Program to convert Decimal to Binary In this program, we have created a… [Read More]
C Program to Convert Decimal to Octal Number
This program converts the input decimal number to an octal number. Example: Program to convert decimal to octal In this program, we have created a… [Read More]
C Program to Convert Octal Number to Decimal Number
This program converts an octal number to an equivalent decimal number. Example: Program to Convert Octal to Decimal In this program, we have created a… [Read More]
C Program to Convert Octal Number to Binary Number
This program converts an octal number to a binary number using a user defined function. Example: Program to convert octal to binary In this program… [Read More]
C Program to Convert Binary to Octal Number System
This C Program converts a binary number to an equivalent octal number. Example: Program to convert Binary to Octal In this program, user is asked… [Read More]
C Program to find the Average of two numbers
Here we will write two C programs to find the average of two numbers(entered by user). Example 1: Program to find the average of two… [Read More]
C Program to Find the Number of Elements in an Array
Here we will write a C program to find the number of elements in a given array. Example: Program to find the size of an… [Read More]
C Program to Find Quotient and Remainder
Program to find quotient and remainder based on the dividend & divisor values entered by user. Example 1: Program to find Quotient and Remainder In… [Read More]
C Program to Find ASCII value of a Character
ASCII value represents the English characters as numbers, each letter is assigned a number from 0 to 127. For example, the ASCII value for uppercase… [Read More]
C Program to Multiply two Floating Point Numbers
Program to multiply two floating point numbers and display the product as output. Example 1: Program to display the product of two float numbers In… [Read More]
C Program to Add two numbers
In this tutorial, you will learn how to write a C program to add two numbers. This is a very basic C program where user… [Read More]
Hello World Program in C
Here we will write two C programs to display Hello World on the screen. In the first program we are displaying the message using printf… [Read More]
C Program to Print an Integer entered by the user
In this tutorial, you will learn how to write a C program to print an integer entered by user. This is a very simple program…. [Read More]