1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
AfilCa [17]
2 years ago
7

Consider the function definition void Demo( int& intVal, float floatVal ) { intVal = intVal * 2; floatVal = float(intVal) +

3.5; } Suppose that the caller has variables myInt and myFloat whose values are 20 and 4.8, respectively. What are the values of myInt and myFloat after return from the following function call? Demo(myInt, myFloat);
Computers and Technology
1 answer:
Fynjy0 [20]2 years ago
5 0

Answer:

myInt=40

myFloat=4.8

Explanation:

First look at the function definition .It has two arguments intVal is passed by reference while floatVal is passed by value.So the changes done on the myInt variable will be reflected on the original argument because when a variable is passed by reference the the changes are reflected on the original argument but when a variable is passed by value the function created a duplicate copy of it and work on them so changes are not reflected on the original argument.So myInt will get doubled while myFloat will remain the same.

You might be interested in
Determine the number of bytes necessary to store an uncompressed binary image of size 4000 × 3000 pixels
vladimir2022 [97]

Answer:  1,500,000 bytes.

Explanation:

If we assume that we have an image of 4000 pixels (picture elements) wide, by 3000 pixels height, a complete uncompressed image will be represented by 4000*3000= 12,000,000 pixels.

Now, if we are talking of a binary image, this means that each pixel will have, as a maximum, two possible values, so we will need only one bit per pixel.

This means that  we will need to store 12,000,000 bits.

As we know, 1 byte=8 bits.

So, we will need 12,000, 000/8 bytes ⇒ 1,500,000 bytes in order to store an uncompressed binary image of size 4000 x 3000 pixels.

3 0
2 years ago
Michael needs to ensure that those items that are automatically archived are still easily accessible within Outlook. Which optio
rjkz [21]

Answer:

D.   Show archive folder in folder list

Explanation:

Other dude is wrong

8 0
2 years ago
Read 2 more answers
If we collect data on the number of wins each team in the NFL had during the 2011-12 season, we have _____________ data.
olchik [2.2K]

Answer:

Cross Sectional Data.

Explanation:

Cross-sectional data:- These are the observations that are made at the same point in the defined time period. These observations could be on a single day or these observations can also be for a week, month, year.

So the case provided to us is the data for a season of NFL that was from 2011-2012 season.So we can say that the data is cross-sectional.

7 0
2 years ago
How can you add and remove categories from a previously created chart? A. Click the Format tab. B. Click the Chart Styles button
hoa [83]
<span>Click the Chart Filters button.</span>
7 0
3 years ago
Read 2 more answers
A media strategy that involves high ________ most likely involve creating broad exposure using many media vehicles, while a stra
Tom [10]

Answer: Reach and frequency

Explanation:

 The media strategy is the planning and action that basically involve high reach in the exposure by using the media vehicle. It basically improve the overall conversation rate of customers.

The conversation rate is refers to the total percentage of the users which involve using the website and various applications.

This strategy also involve with high frequency that limited the list of the media vehicle.

 

5 0
3 years ago
Other questions:
  • What systemctl command configures a unit to start the next time the computer boots?
    10·1 answer
  • When CPU failed what will happen?
    10·1 answer
  • Put the following five steps in the order in which you would perform them to use the Paste Special function. 1. Select and copy
    6·1 answer
  • What kind of company would hire an Information Support and Service employee?
    7·1 answer
  • Hi whats airpods good for
    15·2 answers
  • A powerboat is about to cross paths with a sailboat under sail. What should the powerboat do
    5·1 answer
  • Help me with this, please. Are vacuum cleaners, Cd players, and telephones considered computers? Do they store any data or proce
    8·2 answers
  • Complete the following sentence.
    7·1 answer
  • Have y’all beat shinobi 3 return of The ninja Master for The sega genesis
    5·1 answer
  • Which of the following techniques is a direct benefit of using Design Patterns? Please choose all that apply Design patterns hel
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!