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
The air conditioner in a house or a car has a cooler that brings atmospheric air from 30C to 10C, with both states at 101KPa. If
torisob [31]

The rate of heat transfer by the air conditioner using constant specific heat of 1.004kj/kg.K is 15.06 kW.

<h3>What is the rate of heat transfer?</h3>

Rate of heat transfer is the power rating of the machine.

Work done and changes in potential and kinetic energy are neglected since it is a steady state process.

The specific heat in terms of specific heat capacity and temperature change is given as:

q_{out} = Cp(Ti - Te)

q_{out} = 1.004(30 - 10) = 20.08 kJ/kg \\

The rate of heat transfer, is then determined as follows:

  • Qout = flow rate × specific heat

Qout = 0.75 × 20.08 = 15.06 kW

Therefore, the rate of heat transfer by the air conditioner is 15.06 kW.

Learn more about rate of heat transfer at: brainly.com/question/17152804

#SPJ1

6 0
2 years ago
Given a two-dimensional steady inviscid air flow field with no body forces described by the velocity field given below. Assuming
kolbaska11 [484]

Answer:

the pressure gradient in the x direction = -15.48Pa/m

Explanation:

  • The concept of partial differentiation was used in the determination of the expression for u and v.
  • each is partially differentiated with respect to x and the appropriate substitution was done to get the value of the pressure gradient as shown in the attached file.

4 0
3 years ago
A structural component in the shape of a flat plate 25.0 mm thick is to be fabricated from a metal alloy for which the yield str
balandron [24]

Answer:

The critical length of surface flaw = 6.176 mm

Explanation:

Given data-

Plane strain fracture toughness Kc = 29.6 MPa-m1/2

Yield Strength = 545 MPa

Design stress. =0.3 × yield strength

= 0.3 × 545

= 163.5 MPa

Dimensionless parameter. Y = 1.3

The critical length of surface flaw is given by

= 1/pi.(Plane strain fracture toughness /Dimensionless parameter× Design Stress)^2

Now putting values in above equation we get,

= 1/3.14( 29.6 / 1.3 × 163.5)^2

=6.176 × 10^-3 m

=6.176 mm

5 0
4 years ago
Read 2 more answers
4. An aluminum alloy fin of 12 mm thick, 10 mm width and 50 mm long protrudes from a wall, which is maintained at 120C. The amb
Minchanka [31]

Answer:

a) 84.034°C

b) 92.56°C

c) ≈ 88 watts

Explanation:

Thickness of aluminum alloy fin = 12 mm

width = 10 mm

length = 50 mm

Ambient air temperature = 22°C

Temperature of aluminum alloy is maintained at 120°C

<u>a) Determine temperature at end of fin</u>

m = √ hp/Ka

   = √( 140*2 ) / ( 12 * 10^-3 * 55 )

   = √ 280 / 0.66 = 20.60

Attached below is the remaining answers

7 0
3 years ago
Discuss typical advantages and disadvantages of an irrigation system?
trapecia [35]
Advantages include low costs and minimal labor.Water stays in the root zone, and foliage stays dry. Drawbacks to surface irrigation include potential overwatering and wasteful runoff.
4 0
3 years ago
Other questions:
  • Steam undergoes an isentropic compression in an insulated piston–cylinder assembly from an initial state where T1 5 1208C, p1 5
    15·1 answer
  • The cables of a power line are copper-coated steel wire. The overall diameter of the wire is 5/8 in. The steel core has a diamet
    8·1 answer
  • Which career related to architecture deals with the planning of entire cities and focuses on designing and arranging buildings,
    9·2 answers
  • The specific gravity of a substance that has mass of 10 kg and occupies a volume of 0.02 m^3 is a) 0.5 b) 1.5 c) 2.5 d) 3.5 e) n
    11·1 answer
  • A binary liquid system exhibits LLE at 25°C. Determine from each of the following sets of miscibility data estimates for paramet
    10·1 answer
  • A local surf report provides the height of the wave from the trough to the crest of the wave. How does this relate to the wave’s
    11·1 answer
  • Roku internet service providet​
    11·1 answer
  • Technician A says that acid core solder should be used whenever aluminum wires are to be soldered.
    14·1 answer
  • This might count as engineering, I'm not sure as this is IT
    8·1 answer
  • There are some sections of the SDS that are not mandatory.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!