subject
Computers and Technology, 30.10.2021 04:20 Cmpine

Answer all questions (with a piece of C code for each) given below:a) How many bits does a byte equal to?b) How many bytes does a basic data type (char, int, float, and double) occupies in memory?c) How many bits an integer variable occupies in memory?d) What are the minimum and maximum values a character variable can store?e) What are the minimum and maximum values a short-integer variable can store?f) What are the minimum and maximum values an integer variable can store?g) What is the range of values for a single-precision floating-point variable in memory?h) Write a C program that bitwise displays the character value ‘A’ on the screen. i) Write a C program that bitwise displays the short-integer value 167 on the screen. j) Write a C program that bitwise displays the single-precision-floating-point value 3.14 on the screen. Note that you can write a C function for some questions and assemble all answers in a single C program.

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 22:30, studybug2306
Jason needs to learn a new web tool. he went through his books to understand more about it. now he wants hands-on experience with using that tool. what would him? jason can use websites where workspace is provided to test the results of your code.
Answers: 2
image
Computers and Technology, 23.06.2019 14:30, Vanesssajohn2962
Norder to receive financial aid at his vocational school, mario must fill out the fafsa. the fafsa is a form that must be completed to determine . in order to complete a fafsa, you must submit . the fafsa can students obtain
Answers: 2
image
Computers and Technology, 23.06.2019 20:30, cristalcastro901
If an appliance consumes 500 w of power and is left on for 5 hours, how much energy is used over this time period? a. 2.5 kwh b. 25 kwh c. 250 kwh d. 2500 kwh
Answers: 1
image
Computers and Technology, 24.06.2019 19:20, boyancecristina
Which command suppresses the visibility of a particular row or column in a worksheet?
Answers: 1
You know the right answer?
Answer all questions (with a piece of C code for each) given below:a) How many bits does a byte equa...

Questions in other subjects:

Konu
Mathematics, 09.03.2021 18:10