What is the difference between int and float?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1483


Explain how do you sort filenames in a directory?

804


what do u mean by Direct access files? then can u explain about Direct Access Files?

1844


What is meant by realloc()?

901


What are the advantages of using Unions?

847


Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.

852


What are the advantages of external class?

792


#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

5775


What is the difference between functions abs() and fabs()?

878


can any one tel me wt is the question pattern for NIC exam

1748


A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor

854


How can I write a function analogous to scanf?

890


Are comments included during the compilation stage and placed in the EXE file as well?

876


List some basic data types in c?

761


What is wrong with this program statement?

783