Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please solve all questions it's important TASK 2 (total 20 marks): The sizeof operator can be used to determine the number of bytes occupied in

please solve all questions it's important image text in transcribed
image text in transcribed
image text in transcribed
TASK 2 (total 20 marks): The sizeof operator can be used to determine the number of bytes occupied in memory by a variable of a certain type. For example, sizeof(int) is equivalent to 4 bytes as shown by the example given below: CiUsersmsharizal\Documents\HCT_ Size of int: 4 bytes Process exited after 0,04597s Press any key to continue... Write a C++ program that displays the memory space utilized for each of data type described in your lecture. Answer (show your program and the output): TASK 4 (total 20 marks): Write a C++ program that two defines variables for floating-point numbers and initializes them with the values of: 193.897451 and 125.647712 One of the value must be declared globally. Then display the sum and the difference of these two numbers on screen. Answer (show your program and the output): Study the following code and answer the following questions: Aincluple ciostreans vitag naaripace std; tht nain() 1. Without running the code what will be the value of var3? 2. Without running the code what character will be displayed in the second seut? 3. Run the code of above and verify your answers. Show the program output below. 4. Study the ASCII code table carefully and find out the relationship between the ASCII code for the capital letters and the small letters ASCll code for " M " is ASCll code for " m " is ASCll code for "T" is ASCll code for " t " is 5. What is the relation between capital and small letter

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

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

2nd Edition

0470624701, 978-0470624708

More Books

Students also viewed these Databases questions

Question

what is a peer Group? Importance?

Answered: 1 week ago

Question

a. How many different groups were represented?

Answered: 1 week ago

Question

1. Identify three communication approaches to identity.

Answered: 1 week ago

Question

d. Who are important leaders and heroes of the group?

Answered: 1 week ago