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
sattari [20]
3 years ago
9

Which line in the following program contains the header for the showDub function? 1 #include 2 using namespace std; 3 4 void sho

wDub(int); 5 6 int main() 7 { 8 int x = 2; 9 10 showDub(x); 11 cout << x << endl; 12 return 0; 13 } 14 15 void showDub(int num) 16 { 17 cout << (num * 2) << endl; 18 } 1. 4 2. 6 3. 10 4. 1
Computers and Technology
1 answer:
Flura [38]3 years ago
8 0

Answer:

The answer to this question is "15 line".

Explanation:

A function is a block of ordered, portable code used to perform a single, connected operation. The syntax of function declaration can be given as:

Syntax :

returntype functionName(parameter1, parameter2); //function prototype

or declaration

returntype functionName(parameter1, parameter2) //function definition or header of the function  

{  

//function body.

//function implementation

 //return value;

}

In the given question the header of the showDub function is on line 15.

That's why the answer to this question is "15 line".  

You might be interested in
Excel templates makes creating a professional looking spreadsheet easier by including all of the following EXCEPT_____ in the te
Anika [276]

Answer:

Excel templates makes creating a professional looking spreadsheet easier by including all of the following except Data  in the template.

Explanation:

Templates are created to define the basic structure of any document which is repeated and the user need not do those designs from the scratch.

Normally a template will contain pre-defined formula, formatting. But it will not contain data because, the purpose of template is that the structure will be same but the value may differ and the template should react according to the data.

So any template will contain design except data. We can use existing template / default template or even create a new one.

4 0
3 years ago
Can someone please answer this for me ? What is data centre virtualization?
castortr0y [4]
Data center virtualization is the process of designing, developing and deploying a data center on virtualization and cloud computing technologies. It primarily enables virtualizing physical servers in a data center facility along with storage, networking and other infrastructure devices and equipment.
3 0
3 years ago
What are the steps involved in accepting all the changes in a document?
I am Lyosha [343]
  1. you can accept or reject the changes one at a time or all at one time.
  2. click at the beginning of the document , and then on the review tab, click next to go to the first tracked change.
  3. Click Accept or reject to keep or remove the change.

Keep repeating the step 2 until you've reviewed all of the changes in your document.

*Hope this helps !!! Mark me Brainliest :)

7 0
3 years ago
Read 2 more answers
Imagine that a you and a friend are exercising together at a gym. Your friend suddenly trips and falls, and it is clear that he
ladessa [460]

Answer:

The sprain happened when the friend fell and the ligaments (in the ankle)  stretched, twisted or possibly tore. Sprain is manifested by pain, swelling, bruising and inability to move.

Explanation:

Here the appropriate steps to stabilize the injury:

1.       Call for help.

2.       Rest the injured area to avoid further damage.

3.       Put ice ( for 15 to 20 minutes) to help limit the swelling.

4.       Apply compression bandage to prevent more swelling.

5.       Elevate the injured ankle above the heart to limit swelling.

Hope this helps UvU

4 0
2 years ago
What entity created the open systems interconnection (osi) seven-layer model?
sweet [91]
The ISO developed the 7 layer OSI model.
8 0
3 years ago
Other questions:
  • How do you take a screen shot on hp pavilion dm3
    12·1 answer
  • If you want to emphasize the Greek root of a word in a document, which tool in Microsoft® Word could you use?
    6·2 answers
  • Given: The following if statement uses an overloaded &gt; operator to determine whether the price of a Car object is more than $
    5·1 answer
  • How can a user view the options for Junk E-mail?
    11·2 answers
  • Testing for information would be most likely to occur in which type of engineering?
    5·2 answers
  • Write the code for invoking a method named sendObject. There is one argument for this method which is of type Customer. Assume t
    14·1 answer
  • customer seeks to buy a new computer for private use at home. The customer primarily needs the computer to use the Microsoft Pow
    5·1 answer
  • True or False: To create a function in python, you start with the keyword "def"
    5·2 answers
  • Quick question if anyone knows? How do you give brainlist? Please tell me if you know! ( Here if a chiaki gif for your too lol )
    5·1 answer
  • What three best practices can help defend against social engineering attacks?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!