floating point constant in c programming language

C Programming Language / Constant in C Language

1150

Program:

#include"stdio.h" 
int main()
{
const float a=2.0; // a is float point constant
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.