answersLogoWhite

0


Best Answer

Consult your limits.h and math.h.

For char it will be -128..127 or 0.255 (signed and unsigned).

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the range of integer char float for a 16-bit computer?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the range of float?

i wann't ask the range of double float and long double float??


What is short integer?

In computer programming, a variable can be (among other things) an integer or a long integer. An integer can be any whole number in the range of -32,768 to 32,767 A long integer can be any whole number in the range of -2,147,483,648 tp 2,147,483,647 I have never heard of an "integer" variable being called a "short integer" but it makes a kind of sense. Note: The size of integer types is platform-dependent, but usually: short: 16 bits int: 32 bits (16 in archaic systems: MSDOS OS Windows16) long: 32 bits (64 in unix64) long long: 64 bits


Can we assign int and float values to the character data type in c language?

Yes, but this will result in an implicit conversion and possible narrowing. A char is always at least 8-bits in length, but an int may be 4 bytes in length (the actual length is implementation-defined) thus assigning an integer value outwith the range of a char will result in narrowing. Similarly when assigning a float (typically 16-bits in length); the fractional component will be lost and the integer value may be narrowed. An unsigned char is only guaranteed to hold values in the range 0 through 255 and a signed char is only guaranteed to hold values in the range -127 through +127. Any values outwith those integer ranges may result in narrowing. Most modern architectures support twos-complement notation thus the signed range becomes -128 through +127, however this cannot be guaranteed across all implementations. Also, a "plain" char may be signed or unsigned depending on the implementation but is a distinct type from an explicitly signed or unsigned char. A plain char is only guaranteed to hold positive integer values in the range 0 through 127 across all implementations.


Is the double a modifier in c plus plus?

A double is a floating point type, greater than or equal in size to a float.


Can you store unlimited value in any integer type of variables?

No. In Java, you can store a limited range of values in an integer. Specifically, integers are 32-bit signed values which can store values in the range [-231, 231-1]. If you need to store more values, consider using a long integer [-263, 263-1] or the BigInteger class (which can store arbitrary-precision values).

Related questions

What is the range of integer char float for a 16 bit computer?

Consult your limits.h and math.h. For char it will be -128..127 or 0.255 (signed and unsigned).


What is the range of float?

i wann't ask the range of double float and long double float??


Can an integer repeat in the range?

Yes.


What is short integer?

In computer programming, a variable can be (among other things) an integer or a long integer. An integer can be any whole number in the range of -32,768 to 32,767 A long integer can be any whole number in the range of -2,147,483,648 tp 2,147,483,647 I have never heard of an "integer" variable being called a "short integer" but it makes a kind of sense. Note: The size of integer types is platform-dependent, but usually: short: 16 bits int: 32 bits (16 in archaic systems: MSDOS OS Windows16) long: 32 bits (64 in unix64) long long: 64 bits


What is the signed integer range?

The signed integer range extends only from negative infinity to positive infinity. You have to make up your own names and symbols for whole numbers that are not included in that range.


What is the difference between signed integer and unsigned integer in terms of memory and range?

Signed integer is any integer that carries negative sign while unsigned integer is any integer that carries positive sign


What does integer range mean?

The problem must have given you a list of several whole numbers. The integer range is the difference in size (distance) between the biggest one and the smallest one.


What is range of A 8 bit signed integer?

-128 to 127


What is the range of 8 bit signed integer?

0-7


What is range of 8 bit unsigned integer?

Bits administrator


What is the range of a 16 bit signed integer?

0 - 65535


What is the denominator from 100 to million?

The denominator for any integer in that range is 1.