C program float datatype

C Programming Language / Data Types in C Language

1733

Program:

#include"stdio.h" 
int main() {
	
   float a=22.9;
   printf("value of float a : %f \n", a);
   
   return 0;
}

Output:

value of float a : 22.900000
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.