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, 04.07.2019 18:10
Different types of steels contain different elements that alter the characteristics of the steel. for each of the following elements, explain what the element does when alloyed with steel.
Answers: 2
question
Engineering, 04.07.2019 18:10
For the closed feedwater heater below, feedwater enters state 3 at a pressure of 2000 psia and temperature of 420 °f at a rate of ix10 ibhr. the feedwat extracted steam enters state 1 at a pressure of 1000 psia and enthalpy of 1500 btu/lbm. the extracted er leaves at an enthalpy of 528.7 btu/lbm steam leaves as a saturated liquid. (16) a) determine the mass flow rate of the extraction steam used to heat the feedwater (10) b) determine the terminal temperature difference of the closed feedwater heater
Answers: 3
question
Engineering, 04.07.2019 18:10
Hydraulic fluid with a sg. of 0.78 is flowing through a 1.5 in. i.d. pipe at 58 gal/min. the fluid has an absolute viscosity of 11.8 x 105 lbf-sec/ft2. is the flow laminar, turbulent or within the critical range? give both a numerical reynolds number and a term answer.
Answers: 3
question
Engineering, 04.07.2019 19:10
The air in an automobile tire with a volume of 0.015 m3 is at 32°c and 140 kpa gage. determine the amount of air that must be added to raise the pressure to the recommended value of 206 kpa gage. assume the atmospheric pressure to be 128 kpa and the temperature and the volume to remain constant.[r-0.287 kj/kgk]
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
question
Mathematics, 15.01.2021 04:50
question
Mathematics, 15.01.2021 04:50
question
Physics, 15.01.2021 04:50
Questions on the website: 13722361