why we are using float in C

Answers were Sorted based on User's Feedback



why we are using float in C..

Answer / siva

for decimal values

Is This Answer Correct ?    8 Yes 0 No

why we are using float in C..

Answer / prady

To provide accuracy for calculations.

Is This Answer Correct ?    4 Yes 1 No

why we are using float in C..

Answer / remya

for decimal and to get a accurate value

Is This Answer Correct ?    1 Yes 0 No

why we are using float in C..

Answer / salini

for fractional values

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

main() {char a[10]={1,2,3,4,5,6};int x; for(x=0;x<4;x++){ b[x]=x+'a';} printf("%s",b);}

3 Answers  


what are the different storage classes in c?

0 Answers   TCS,


What is the difference between strcpy() and memcpy() function in c programming?

0 Answers  


Can a pointer be static?

0 Answers  


dibakar & vekatesh..uttejana here..abt ur reply for in place reversal of linked list..wats p stands for there?

1 Answers  






please tell me the logic for this C program : INPUT (string):ABCD OUTPUT :BCDA CDAB DABC

2 Answers   Mphasis,


helllo sir give me some information of the basic information the c as printf ,scanf , %d ,%f and why is the main use of these.

3 Answers  


Do you know the use of fflush() function?

0 Answers  


What does return 1 means in c?

0 Answers  


What are identifiers in c?

0 Answers  


how to find greatet of 10 numbers without using array?

4 Answers  


How do I round numbers?

0 Answers  


Categories