Floating point type variable in c programming language

C Programming Language Variable in C Language (Article) Variable in C Language (Program)

1472

Program:

#include"stdio.h" 
int main()
{
float a=2.0; // a is float type variable 
printf("%f \n",a);   
return 0;
}

Output:

2.000000
Press any key to continue . . .

This Particular section is dedicated to Programs only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.