What is the difference between int and float?

Answers were Sorted based on User's Feedback



What is the difference between int and float?..

Answer / nashiinformaticssolutions

 int: Stores integer values (e.g., 1, -10).
 float: Stores floating-point numbers (e.g., 3.14, -2.7).

Is This Answer Correct ?    0 Yes 0 No

What is the difference between int and float?..

Answer / glibwaresoftsolutions

 int: Stores integer values (e.g., 1, -10).
 float: Stores floating-point numbers (e.g., 3.14, -2.7).

Is This Answer Correct ?    0 Yes 0 No

What is the difference between int and float?..

Answer / hr@tgksolutions.com

 int: Stores integer values (e.g., 1, -10).
 float: Stores floating-point numbers (e.g., 3.14, -2.7).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

ATM machine and railway reservation class/object diagram

0 Answers   Zycus Infotech,


what will be the output of this program? #include<stdio.h> #define cube(x) x*x*x void main() { int i,j=5; i=cube(j+3); printf("i=%d",i); }

6 Answers   IBM,


When is an interface "good"?

1 Answers  


What is return type in c?

0 Answers  


read the folllowing code # define MAX 100 # define MIN 100 .... .... if(x>MAX) x=1; else if(x<MIN) x=-1; x=50; if the initial value of x=200,what is the vlaue after executing this code? a.200 b.1 c.-1 d.50

4 Answers   TCS,


which is an algorithm for sorting in a growing Lexicographic order

0 Answers  


What is a newline escape sequence?

0 Answers  


What is the function of volatile in c language?

0 Answers  


What is the difference between malloc() and calloc()?

3 Answers  


Do string constants represent numerical values?

0 Answers  


what are the compilation steps? ( i want inside the compiler )

2 Answers  


Why is structure important for a child?

0 Answers  


Categories