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, 22.06.2019 08:10
Technician a says that if a valve is open when a piston rises to the very top of a cylinder, the piston may actually strike the valve head and cause serious engine damage. technician b says if the camshaft is located in the engine block, then the engine is called an overhead valve engine, ohv engine, or an in-block camshaft. who is right? a. b only b. both a and b c. a only d. neither a nor b
Answers: 3
question
Computers and Technology, 23.06.2019 00:00
Suppose you have 9 coins and one of them is heavier than others. other 8 coins weight equally. you are also given a balance. develop and algorithm to determine the heavy coin using only two measurements with the of the balance. clearly write your algorithm in the form of a pseudocode using the similar notation that we have used in the class to represent sorting algorithms
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Jennifer has to set up a network in a factory with an environment that has a lot of electrical interference. which cable would she prefer to use? jennifer would prefer to use because its metal sheath reduces interference.
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
What is the purpose of a computer network needs assessment? to analyze which workers need more training to improve their performance to compare worker productivity to determine what steps employees can take to increase company revenue to evaluate how to move from the current status to the desired goal
Answers: 2
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, 01.12.2021 02:50
Questions on the website: 13722359