English, asked by poori15, 11 months ago

the ratio of the memory allocated to int float chat variable in c​

Answers

Answered by Anonymous
1

char     1 byte                    -128 to 127

int    2 or 4 bytes          -32,768 to 32,767 or -2,147,483,648 to 2,147,483,647

float  4 byte              1.2E-38 to 3.4E+38

Explanation:

Char-  It is used for a datatype which would be able to hold  a single character for example letter or a number.

Int - Int is used to declare a variable as integer type.It can be able to hold numbers but not in decimal.

Float - It helps a various to hold integer type values and also in decimal it gives results in decimal or whole number

Similar questions
Math, 6 months ago