A Program that Uses the Characters, Integers, and Floating-Point Data Types - C Data Type

C examples for Data Type:Introduction

Description

A Program that Uses the Characters, Integers, and Floating-Point Data Types

Demo Code

#include <stdio.h>
int main()//from  w  w  w  .ja va  2 s. c om
{
    printf("this is a test %c \n", 'C');
    printf("test %d\n", 2);
    printf("test %.1f ", 99.9);
    printf("test !\n");
    return 0;
}

Result


Related Tutorials