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
Jlenok [28]
4 years ago
13

The C language allows developers to pass functions as parameters to other functions. Provide a declaration for a function named

garnet that accepts two parameters. The first parameter shall be character, and the second parameter shall be a function that accepts one argument and returns an integer. The Garnet function shall return nothing.
Engineering
1 answer:
MariettaO [177]4 years ago
5 0

Answer:

answer is given below

Explanation:

 Declaration for garnet  

  • void garnet(char,int (*f)(int));
  • void - garnet return nothing

garnet accepts two parameters

  1. 'Char'
  2. function

Function as a parameter

  • int (*f) (int))

and here

first int refers return type of function

  • (*f)  function as pointer variable

second int

  • arguments that accept by inner function- function as a parameter

so here Garnet is a function that accepts two parameters. One parameter that contains the character and another parameter that takes an argument (here I am taking an integer) and returns an integer. Function The function returns nothing. Zero is mentioned here.

You might be interested in
A 3-phase , 1MVA, 13.8kV/4160V, 60 Hz, transformer with Y-Delta winding connection is supplying a3-phase, 0.75 p.u. load on the
Tanya [424]

Answer:

a) 23.89 < -25.84 Ω

b) 31.38 < 25.84 A

c) 0.9323 leading

Explanation:

A) Calculate the load Impedance

current on load side = 0.75 p.u

power factor angle = 25.84

I_{load} = 0.75 < 25.84°

attached below is the remaining part of the solution

<u>B) Find the input current on the primary side in real units </u>

load current in primary = 31.38 < 25.84 A

<u>C) find the input power factor </u>

power factor = 0.9323 leading

<em></em>

<em>attached below is the detailed solution </em>

8 0
3 years ago
The input power for a thermostat is wired to the
masya89 [10]

Answer:

A. R

Explanation:

There are basically two wires that supply input power to the thermostat namely the C wire which is the common wire and the R wire .The G wire simply completes the input power circuit from the R-leg of the power supply.On the another hand the Y wire also completes the circuit  from the compressor fan contactor to the R-leg of the power supply . While the W wire completes the path to the heater contactor coil.

6 0
4 years ago
An inventor claims that he wants to build a dam to produce hydroelectric power. He correctly realizes that civilization uses a l
Mekhanik [1.2K]

Answer:

The problem is that the pumps would consume more energy than the generators would produce.

Explanation:

Water has a potential energy associated with the height it is at. The higher it is, the higher the potential energy. When water flows down into the turbines that energy is converted to kinetic energy and then into electricity.

A pump uses electricity to add energy to the water to send it to a higher potential energy state.

Ideally no net energy woul be hgenerate or lost, because the generators would release the potential energy and pumps would store it again in the water. However the systems are not ideal, everything has an efficiency and losses. The losses would accumulate and the generator would be generating less energy than the pumps consume, so that system wastes energy.

What should be done is closing the floodgates to keep the water up in the dam at night producing only the power that is needed and releasing more water during the day.

6 0
4 years ago
Answer every question of this quiz
Reil [10]

I'd say number 4, number 3 looks like an exhaust valve

5 0
4 years ago
If you touch a downed power line, covered or bare, what's the likely outcome?
olya-2409 [2.1K]

Answer:

you get electrocuted...........

5 0
3 years ago
Read 2 more answers
Other questions:
  • Explain the conductivity results observed for ionic compounds in the solid state and in aqueous solution.i.Solid ionic compounds
    12·1 answer
  • A silicon carbide plate fractured in bending when a blunt load was applied to the plate center. The distance between the fractur
    11·1 answer
  • What is poop made out of
    13·2 answers
  • Are there specific building code requirements for the installation of specialized water-based fire protection systems?
    10·1 answer
  • Write a simple phonebook program that reads in a series of name-number pairs from the user (that is, name and number on one line
    12·1 answer
  • i know this isnt suppose to be here or any of that but this needs to be stop any where...ok now that i have your attention every
    14·2 answers
  • I will Brainliest
    7·2 answers
  • Plz help me! I’ll mark Brainliest! :(
    11·1 answer
  • ) A certain polymer is used for evacuation systems for aircraft. It is important that the polymer be resistant to the aging proc
    14·1 answer
  • Describe the refrigeration cycle &amp; how it transfers heat, including all the components &amp; lines. be sure to discuss why t
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!