1Assign data types to the following in C language a 10 b 320

1.Assign data types to the following in C language

a) 10

b) 320

c) 9.22

d) 99965

Solution

a) char -- The range of char is -128 to 127

b) short -- The range of short is -32,768 to 32,767

c) float -- The range of float is 1.2E-38 to 3.4E+38

d) int -- The range of int is -2,147,483,648 to 2,147,483,647

1.Assign data types to the following in C language a) 10 b) 320 c) 9.22 d) 99965Solutiona) char -- The range of char is -128 to 127 b) short -- The range of sho

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site