C Program to Print an Integer, Character, and Float Value

In this tutorial you will learn about the C Program to Print an Integer, Character, and Float Value and its application with practical example.

In this tutorial, we will learn to create a C program that will Print an Integer, Character, and Float Value using C programming.

Table Of Contents

Prerequisites

Before starting with this tutorial we assume that you are best aware of the following C programming topics:

  • Operators in C Programming.
  • Basic Input and Output function in C Programming.
  • Basic C programming.
  • Arithmetic operations in C Programming.

What is a data type?

A data type, in every programming language, specifies which type of value a variable is going to hold in the program. i.e. integer, character, float, double.

Algorithm for the program to Print an Integer, Character, and Float Value:-

Program Print an Integer, Character, and Float Value.

In every programming language, there are many predefined datatypes available. Today we will create a program that will print the integer, character, float, and double in output. By taking input values from the user.

With the help of this program, we can Print an Integer, Character, and Float Value.

Program Code:-

 

Output:-

Taking Input values from the user.

Printing the values.

 

In this tutorial we have learn about the C Program to Print an Integer, Character, and Float Value and its application with practical example. I hope you will like this tutorial.