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]
3 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]3 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
I’m confused what any of this means can anyone help?
raketka [301]
The answer will be
97
98
96
194
5 0
3 years ago
The Apple II is an IBM-compatible PC "clone.
lutik1710 [3]
Is this supposed to be a true or false question?
4 0
3 years ago
1.5 Code Practice: Question 1
Jobisdone [24]
What’s the question?
Always remember to add any reasonable information for someone to help or answer!!

Have a good rest of your day.
6 0
3 years ago
The sides of a ladder are called
adoni [48]

I think they are called stringers or rails.

3 0
3 years ago
Read 2 more answers
Match the function with its desired result.
astra-53 [7]

Answer:

The answer to this question is given below in the explanation section.

Explanation:

This question is about matching the function of Excel with their desired result.

In this question, four Excel functions are given such as Sum, Max, Min, and Average.

So, the correct function matching and their desired result are given below:

SUM: Find the total of the range of numbers.

MAX: Find the highest number in the range.

MIN: Find the lowest number in the range.

AVERAGE: Find the average, or mean, of the numbers.

3 0
3 years ago
Other questions:
  • Aubrey didnt like to use graphics or images on her slides. She preferred to use only a title for her slides and bullet-poinged t
    14·2 answers
  • If you have long column labels with columns so wide that they affect the readability of a worksheet you should first
    6·2 answers
  • There are several methods of updating information and data on a webserver. We must consider who performs those updates upfront w
    9·2 answers
  • And what way do you mixed and market economy support the ideals of democracy​
    12·1 answer
  • Describe a time when you influenced someone else’s knowledge around technology, whether it be an app, a new gadget, etc. What di
    14·1 answer
  • A major concern about ESP claims is that proponents explain both the positive and negative findings. By explaining the negative
    14·1 answer
  • What might happen if dispatchable threads were removed from the software hierarchy? A. Requests from the mouse would be ignored.
    9·1 answer
  • Who is the CEO of Epic Games?​
    7·2 answers
  • Which approach is ideal for ensuring that a Webpage is maintained and does not appear neglected to users?
    13·1 answer
  • Tascake Gets Free Brainliest Because he didnt get it<br><br> Tascake Heres Brainliest
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!