Answered step by step
Verified Expert Solution
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 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
please solve all questions it's important
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started