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
Ymorist [56]
3 years ago
6

How do you return a value from a function?

Computers and Technology
1 answer:
rjkz [21]3 years ago
4 0

Answer:

return instruction used to return a value from a function.

Explanation:

Function is a block of statement which perform the special task.

Syntax for define a function:

type name(parameter_1, parameter_2,...)

{

  statement;

return variable;

}

In the syntax, type define the return type of the function. It can be int, float, double and also array as well. Function can return the array as well.

return is the instruction which is used to return the value or can use as a termination of function.

For return the value, we can use variable name which store the value or use direct value.

You might be interested in
A _________ results when a network is used to a greater extent than was originally anticipated by the network designer.
ira [324]
Bottleneck i think is the word youre looking for, give me the options and ill tell you
5 0
3 years ago
Jenny wants to create a network that can be accessed from any room in her house without physically connecting. Which type of net
CaHeK987 [17]

Answer:

D. Wireless

Explanation:

Jenny should opt for the wireless method out of all choices. This is be cause wireless network enables the user to access and use the network from anywhere in radius to the network without a physical connection.

6 0
2 years ago
50 POINTS!!!! What is HpseuHostLauncher, and can I disable it without any major impact on my laptop?
Stolb23 [73]

Answer:

????????

Explanation:

5 0
3 years ago
Noise can be a barrier to communication. True or False ​
ziro4ka [17]

Answer:

True

Explanation:

This is true because noise is one of the most common communication barriers.

5 0
3 years ago
Jenifer wants to add some more hardware to her computer system. If she is adding a video card and a sound card, what must she us
ruslelena [56]

Answer:OA

Explanation:  expansion slots, the cards need to slide into the slots to become installed in the back of her pc.

3 0
1 year ago
Other questions:
  • Your manager asks you to calculate the sale price if the product is marked down 20 percent. You enter the original price in cell
    9·2 answers
  • An automatic door at a store has a sensor in front (A0) and behind (A1). The
    9·1 answer
  • 5. The best way to clear your Reader is to
    6·2 answers
  • Which of the following is a valid variable name? a. salesTax b. input-string c. 25Percent d. double
    8·1 answer
  • In this challenge, write a function to add two floating point numbers. Determine the integer floor of the sum. The floor is the
    8·1 answer
  • How do you see the recent IT evolution (e.g. platforms, big data, Internet of Things, etc.) affect Internet security and privacy
    13·1 answer
  • Any action that causes harm to your computer is called a
    15·1 answer
  • 3.6 Code Practice Edhesive. (PYTHON LANGUAGE)
    13·1 answer
  • A short-range wireless network is called:
    10·1 answer
  • 6. kinukuha nito ang kabuuang bilang ng mga numerical na datos sa mga piniling cells
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!