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
MAXImum [283]
3 years ago
9

I have a variable and set it equal to 5. 1 then send it as an argument to a function that adds 5 to the variable passed in. Outs

ide the function print the variable (after the function executes).
What will it print?
A. 5+1
B. 4
C. 6
D. 5
Computers and Technology
1 answer:
ch4aika [34]3 years ago
8 0

Answer:

D. 5

Explanation:

If the variables original value was 5 then the value that will be printed is 5. This is because the variable is being passed as a parameter into the function and 5 is being added to the parameter value, not the actual global variable outside. Therefore, in order for the adjusted value to be printed then that new value that is returned by the function needs to be saved in a new variable. This can be seen in the example code below.

You might be interested in
Deliverable mean in an easy way​
alekssr [168]

Answer:

Deliverable means to send something or deliver something important like a file or a document.

Hope this helps...!

Explanation:

7 0
4 years ago
in an advertisement is made of a wireless keyboard and a mouse.Name two commonly used methods of connecting devices wirelessly​
DENIUS [597]

Answer:

Wireless LAN

Wireless MAN

Explanation:

I use these methods to connect my wireless devices all of the time and most of my friends do it as well so I am pretty sure it is a commonly used method.

3 0
3 years ago
What makes this information systems environment unique? (3 points)
QveST [7]

Information technologies are unique not just because of their growing use in decision-making and knowledge management systems, important as that is. Their use has also yielded significant improvements in the efficiency of energy and materials use.

6 0
3 years ago
You are doing research for a science project on current trends in nanotechnology. You do a web search for information that inclu
Murljashka [212]
You should always use websites that have been updated recently because if they haven't updated in a while than the information may not be accurate.
4 0
3 years ago
Create a Word document or text file named Part3 that contains answers to the following:
Gnoma [55]

Answer:

11111

Explanation:

4 0
3 years ago
Other questions:
  • Nila has created a report, and now she would like to a create table of contents. Nila has reviewed her report and decides to add
    9·1 answer
  • How does hardware differ from software
    9·1 answer
  • Women make up 52 percent of the voting-age population and are more likely to vote, yet
    12·2 answers
  • WILL GIVE BRAINLIEST TO HELPFUL ANSWERS!
    8·1 answer
  • The meaning of belt drives
    10·1 answer
  • Gina, an IT professional, noticed that the servers were running very slowly. She evaluated the system and made a recommendation
    9·2 answers
  • Anyone want to talk? it can honestly be about any subject :)
    5·1 answer
  • Which is an effect of short-term environmental changes?
    8·1 answer
  • PLEASE HELP WILL GIVE BRAINLIEST!!!’
    15·1 answer
  • The different languages that follow specific RULES. These languages use commands
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!