subject
Engineering, 07.11.2019 04:31 libbymcvay

An integer in c (int) is represented by 4 bytes (1 byte = 8 bits). find the largest integer that can be handled by c. verify that number by computer (try to printf that number, and printf that number +1). no programming is required for this. hint: (a) conversion from binary to decimal: 3 2 1 0 11012 =1 2 + 0 2 +1 2 +1 2 = 8 + 0 + 2 +1 10 =11 (b) if an integer is represented by 1 byte (8 bits), the maximum integer number is (seven 1's as one bit must be reserved for a sign). 6 5 0 2 =1 2 +1 2 ++1 2 1 2 1 7 =  − =128 −1 (c) the number looks like a telephone number in dallas.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 03.07.2019 14:10
Explain the difference laminar and turbulent flow. explain it with the shear stress and the velocity profiles.
Answers: 1
question
Engineering, 04.07.2019 18:10
The temperature of air decreases as it is compressed by an adiabatic compressor. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:10
Acompressor receives the shaft work to decrease the pressure of the fluid. a)- true b)- false
Answers: 3
question
Engineering, 04.07.2019 18:10
Calculate the bore of a cylinder that has a stroke of 18 inches and an extension time of 6 seconds at a flow rate of 4 gal/min.
Answers: 3
You know the right answer?
An integer in c (int) is represented by 4 bytes (1 byte = 8 bits). find the largest integer that can...
Questions
Questions on the website: 13722360