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

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, redrosesxx
Water at 55c flows across a flat plate whose surface temperature is held constant at 95c. if the temperature gradient at the plate's surface for a given value of x is 18 c/mm, find a) local heat transfer coefficient. b) heat flux
Answers: 3
image
Engineering, 04.07.2019 18:10, tobyhollingsworth178
Which from the following instrument is commonly used to detect the high pitch butzing sound in bearings? [clo4] a)-digital ultrasonic meter b)-infrared camera c)-spectroscopic d)-vibrometer
Answers: 2
image
Engineering, 04.07.2019 18:20, mjcbs21
What is the heat treatment of metals? what is the benefit of it? why and how it's useful? answer in details, do not write by hand.
Answers: 3
image
Engineering, 04.07.2019 19:10, ultimateapes
When subject to a steady load (within elastic range) over a long period of time, what is the major difference in material behavoir between steel and plastic?
Answers: 2
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 in other subjects:

Konu
Social Studies, 09.02.2021 17:20