Questions and Answers Data Types and Directives 8051 C++ C
Questions and Answers Data Types and Directives 8051 C++ C
Ans. A
Ans. C
Ans. 1. Character
2. Double
TYPE
SIZE
(bytes)
RANGE
SHORT
-32768 to 32767
UNSIGNED SHORT
0 to 65,535
SIGNED SHORT
Same as short
INT
-32768 to 32767
UNSIGNED INT
0 to 65,535
SIGNED INT
Same as int
LONG
-2,147,483,648 TO
2,147,483,647
UNSIGNED LONG
0 to 4,294,967,295
SIGNED LONG
Same as long
Ans.
2 bytes
Range -32768 to
32767
B. Integer
C. Long
D. Byte
E.
Single
Ans. D
______ data type is similar to the floatingpoint data type but it has an even greater
range extending up to 10308
Also write its syntax?