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

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 16:30
Sara is writing a program to input her monthly phone bills and output the month name and amount for the month with maximum amount. she has defined an array to hold the month names. complete the pseudocode program. [6] # program to output maximum month's phone bill monthname ["january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december"] # define an array to hold the phone bills for each month
Answers: 1
question
Computers and Technology, 21.06.2019 19:30
Keep your choice of a major there is probably no single correct choice.
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
The processing of data in a computer involves the interplay between its various hardware components.
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
question
Mathematics, 20.12.2020 01:30
question
Mathematics, 20.12.2020 01:30
question
Mathematics, 20.12.2020 01:30
question
Mathematics, 20.12.2020 01:30
question
English, 20.12.2020 01:30
question
History, 20.12.2020 01:30
question
Mathematics, 20.12.2020 01:30
question
Mathematics, 20.12.2020 01:30
Questions on the website: 13722363