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]
3 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]3 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
Which software application should be used when preparing a budget
Advocard [28]
You could use Microsoft Excel as well as any other spreadsheet or accounting software.
8 0
3 years ago
Read 2 more answers
A computer that connects to a powerful computer on a network is called a ______. boss client kid server
Luba_88 [7]
Server is the answer i believe.

4 0
3 years ago
Read 2 more answers
Which option is used in order to configure switchboards for a complex database?
Ostrovityanka [42]

Answer:

switch board manager

Explanation:

8 0
3 years ago
Read 2 more answers
When are numbered lists generally used
tatuchka [14]

C. When listing items that have an order of priority.

Explanation:

There are a lot of ways to list items such as alphabets and Roman numerals.

And the all have their respective reasons.

When numbering in order of priority, it is more appropriate to use numbers instead of alphabets and Roman numerals.

8 0
3 years ago
Identify a characteristic that is a disadvantage of cloud-based hosting.
Shkiper50 [21]

The characteristic that is a disadvantage of cloud-based hosting is  loss of control over data location.

<h3>What is Cloud hosting?</h3>

This is known to be a kind of applications and websites that often makes them accessible via cloud resources. Here, a network of linked virtual and physical cloud servers is said to be the one that host the application or website.

The Disadvantages of cloud computing are:

  • There is a data loss or theft.
  • There is also data leakage.
  • There is account or service hijacking, etc.

See options below

a. ongoing support costs

b. increased management requirements

c. significant development effort

d. loss of control over data location

Learn more about cloud-based hosting from

brainly.com/question/19057393

5 0
3 years ago
Other questions:
  • What is the name of Louis and Auguste Lumiere's invention that incorporated a camera, a printer, and a project all in one machin
    8·1 answer
  • Why is there more content on youtube in 4k then there is on cable, satellite, and digital tv combined?
    6·2 answers
  • 4. The clutch pedal is found in cars with manual and automatic transmissions.
    6·1 answer
  • What is the meaning for science?
    14·1 answer
  • Which method is the best way to keep from running late on the day of a test
    10·1 answer
  • What feature of excel allows you to automatically calculate common formulas with selected data
    12·1 answer
  • Which option will you use to expose your presentation to the audience
    11·2 answers
  • Desirable workplace habits and skills include:
    14·1 answer
  • 10. Realice un algoritmo que solicite números y los sume, solo se detendrá cuando se ingrese un número negativo.
    10·1 answer
  • The alveolar walls and the pulmonary capillaries form the:
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!