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
bixtya [17]
4 years ago
13

Select all that apply. Given the following code fragment, which of the things shown below happen when the statement on line 8 ex

ecutes?
1 int square(int a)2 {3 return a * a4 }5 int main()6 {7 int x = 0;8 x = square(5);9 cout << x << endl;10 return 0;11 }
Computers and Technology
1 answer:
love history [14]4 years ago
6 0

Answer:

A call to function square is made with the argument as 5 and then storing the result in the integer x which was defined above in the line 7.So when function square is called with value 5 the square function will return 5*5 that is 25 as an integer so we have to store it in an integer that was done by assigning it to integer x.

You might be interested in
How do i get more coding programs
Sergio039 [100]
Search whichever language you're learning, like java beginner programs.
4 0
3 years ago
Read 2 more answers
Question 10
Deffense [45]

Answer:

B. Be in View Mode.

D. Select an environment element.

Explanation:

Cisco packet tracer can be defined as a software application or program designed to avail end users the ability to simulate a network. Therefore, it is typically used to present the graphical representation of a logical network and to properly configure network devices such as routers, switches, host devices etc., before they are physically deployed or installed at their primary location.

The two (2) steps which must be followed in order to view a working graph or chart of environmental changes in Cisco packet tracer includes;

I. Be in View Mode: the user must ensure he selects the view mode in order to see all environmental changes or working graph.

II. Select an environment element: you should select any of the environment element such as actuators, boards and sensors.

3 0
3 years ago
What are examples of people who own the copyrights of their property? Check all that apply.
jolli1 [7]
"Nevaeh thinks of a name for her new company", "Alexis thinks of an idea for a new product" and "Josiah writes a poem" are open to copyright because they can claim that their work is original and cannot be reproduced without their consent. 
3 0
4 years ago
Read 2 more answers
How do you get a potion of fire-protection in the overworld because I am having a hard time in the Nether? I will give away 14 p
stepladder [879]

Answer:

It's physically impossible. You'd have to go to the nether and kill one of the nether slimes.

Explanation:

Or you can just cheat, give yourself creative and give yourself a fire res potion. Plus, you can't brew anything without a brewing stand or nether wart.

5 0
3 years ago
Read 2 more answers
There is a population of owls in a forest. In one year there are 20 new owls born and 10 owls die. In this same year, 5 owls ent
Simora [160]

Answer:

The owls population increased by 13 in one year

Explanation:

The given data on the owl population are as follows;

The number of new owls born = 20 (positive increase in population)

The number of owls that die = 10 (negative decrease in population)

The number of owls that enter the forest = 5 (positive increase in population)

The number of owls that left the forest = 2 (negative decrease in population)

Let 'w' represent the number of new owls born, let 'x' represent the number of  owls that die, let 'y' represent the number of owls that enter the forest and let 'z' represent the number of owls that left the forest, we get;

The change in population, ΔP = w - x + y - z

By plugging in the values, we get;

ΔP = 20 - 10 + 5 - 2 = 13

The change in the population of owls in one year is an increase in 13 owls.

4 0
3 years ago
Other questions:
  • Which Google Analytics visualization compares report data to the website average?A. Pivot viewB. Comparison viewC. Performance v
    8·1 answer
  • What is the difference between a key and a superkey?
    10·1 answer
  • Which of the following is not a SQL*Loader file?
    11·1 answer
  • You want a class to have access to members ofanother class in the same package. Which is themost restrictive access that accompl
    11·1 answer
  • Sales management wants a small subset of users with different profiles and roles to be able to view all data for compliance purp
    7·1 answer
  • What is the value of numX when this program is executed? if 3 &lt; 5 and 8 != 3: numX = 3 else: numX = 7
    13·2 answers
  • Why do we use compliment method?
    13·2 answers
  • What is information communication technology?
    7·2 answers
  • I really need help in this!!!
    11·1 answer
  • Most widely used insulator for splices of smaller wires
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!