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

What are the various types of control structures in programming?

1 Answers  


Why we use conio h in c?

1 Answers  


What is the use of a semicolon (;) at the end of every program statement?

2 Answers  


int i=0,j; j=++i + ++i ++i; printf(" %d",j);

2 Answers   ME,


Can i use “int” data type to store the value 32768? Why?

1 Answers  


Is anything faster than c?

1 Answers  


#include<stdio.h> int SumElement(int *,int); void main(void) { int x[10]; int i=10; for(;i;) { i--; *(x+i)=i; } printf("%d",SumElement(x,10)); } int SumElement(int array[],int size) { int i=0; float sum=0; for(;i<size;i++) sum+=array[i]; return sum; } output?

5 Answers   Ramco,


Can we initialize extern variable in c?

1 Answers  


What is c variable?

1 Answers  


Why is extern used in c?

1 Answers  


How to print "Hi World" without using semi colon?

6 Answers   Infosys,


What should be keep precautions while using the recursion method?

1 Answers  


Categories