Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c programming, thank you a) What are the points of having different data types (eg char and int) that both store integer? Give a concrete

c programming, thank you image text in transcribed
a) What are the points of having different data types (eg char and int) that both store integer? Give a concrete example of a program or function where you can use char and int for calculations with integers. b) Most popular computers have bytes that are 8 bits in size, but there are also examples on computers with both larger and smaller bytes. A char in C always picks up a change. What is the largest and smallest value that can be stored in one unsigned char on a computer using bytes consisting of 4 bits instead of 8? Justify your answer with a calculation. c) What is the largest and smallest value that can be stored in a signed char (representing negative numbers with 2-complement) on a computer which uses bytes consisting of 4 bits instead of 8? Justify your answer with one calculation

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases And Information Systems 22nd European Conference Adbis 2018 Budapest Hungary September 2 5 2018 Proceedings Lncs 11019

Authors: Andras Benczur ,Bernhard Thalheim ,Tomas Horvath

1st Edition

3319983970, 978-3319983974

More Books

Students also viewed these Databases questions

Question

Q .1. Different ways of testing the present adulterants ?

Answered: 1 week ago

Question

Q.1. Health issues caused by adulteration data ?

Answered: 1 week ago

Question

1. Traditional and modern methods of preserving food Articles ?

Answered: 1 week ago

Question

What is sociology and its nature ?

Answered: 1 week ago

Question

3. Evaluate a Web-based training site.

Answered: 1 week ago