[Solved] : Question 142552

In this laboratory work, you should research and find a solution (proved by C code) for each task below:
a)How many bits a byte equals to?b)How many bytes a basic data type (char, int, float, and double) occupies in memory?c)How many bits an integer variable occupies in memory?d)What is the minimum and maximum value a character variable can store?e)What is the minimum and maximum value a short-integer variable can store?f)What is the minimum and maximum value an integer variable can store?g)What range of values can be stored in a single-precision floating-point variable?h)Write a C program that bitwise displays the character value ‘A’ to the screen.i)Write a C program that bitwise displays theshort-integer value 167 to the screen.j)Write a C program that bitwise displays thesingle-precision-floating-point value 3.14to the screen


Expert Answer


Answer to : Question 142552

Leave a Comment

About

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?