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
Select the correct answer. Which sentence best describe an effective management strategy? A. Conceal game-related clippings prio
andrew-mc [135]

Answer: I would say it is B

5 0
4 years ago
Read 2 more answers
All of the salespeople in hyperactive media sales use laptops, so that they can take their applications and data on the road to
Svetach [21]

The thing that a person should do to ensure that windows 10 uses the proper device drivers when bob is in and out of the office is to make use of the Microsoft stores to check for the right driver or go online to search for it and then download as well as install it.

<h3>How do I manage my drivers in Windows 10?</h3>

In Windows 10, the Device Manager is known to be a kind of widget that can be found in the Control Panel and it is known to be one that tends to provides information in regards as well as the control over the device drivers.

For a person to launch Device Manager, type in the word "Windowskey-X" and then click on Device Manager from the displayed menu.

Note that the  drivers needed for Windows 10 are:

  • Chipset
  • Video
  • Audio and Network (Ethernet/Wireless), etc.

For laptops one can get them if they download the latest Touch Pad drivers.

Therefore,  The thing that a person should do to ensure that windows 10 uses the proper device drivers when bob is in and out of the office is to make use of the Microsoft stores to check for the right driver or go online to search for it and then download as well as install it.

Learn more about windows 10 from

brainly.com/question/27960518
#SPJ1

8 0
1 year ago
A store sells rope only in whole-foot increments. Given three lengths of rope, in feet, the following code segment is intended t
Nonamiya [84]

Answer:

The correct option is option 3 which is The code segment works as intended but only when the sum of the three lengths is an integer or the decimal part of the sum of the three lengths is greater than or equal to 0.5.

Explanation:

As the variable minLength is defined as an integer thus the value is being truncated although the value of 0.5 is being added however if the decimal portion of the length is less than 0.5, the portion is truncated.

7 0
4 years ago
Read 2 more answers
help i was building my pc and i pushed the cpu into the socket really hard until there was an audible crack and it went into the
Fed [463]
Try smashing it with a hammer, always helped me
4 0
3 years ago
The Home editions of Windows 7 do not include the Local Security Policy or Print Management.
Sergeu [11.5K]

It is true that the Home editions of Windows 7 do not include the Local Security Policy or Print Management.

<h3 /><h3>What is Local Security Policy?</h3>

Local Security Policy is a set of information about the security of the local computer. The Local Security Policy can be found in the Windows operating system. Local security policy information includes:

  • Domains that are trusted to authenticate login attempts.
  • What user accounts are allowed access to the system and how. For example, interactively, over a network, or as a service.
  • Rights and privileges assigned to the account.
  • Security audit policy.

The Local Security Authority (LSA) stores local policy information in a set of LSA policy objects.

Learn more about Local Security Policy brainly.com/question/29670107

#SPJ4

7 0
1 year ago
Other questions:
  • What is the difference between deta security and privecy ?
    12·2 answers
  • Websites often request information about you. You have a choice as to whether or not you provide this to them. What aspect of PA
    12·1 answer
  • Do you think that people have a “right” to remain anonymous online? Why or why not?
    6·1 answer
  • Elisa and Josh need to access General Help. Elisa will press the F1 key. Josh will click on ? in the upper-right corner of the W
    14·2 answers
  • 25 points!!!!!!!!!!!!!!!!!!!!!
    9·2 answers
  • How does violating the SOLID principles make code hard to test?
    5·1 answer
  • Please help explain this calculator code.
    15·1 answer
  • Which of these examples demonstrate portfolio income?
    13·2 answers
  • 100 POINTS!!!!!!!!
    6·2 answers
  • 20 ponts!!!dorothy has made a website for her hair salon on a wysiwyg editor. she wants her website to appear on the first page
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!