how to use union in the real world?​

Answers

Answer 1

Answer:

To overcome such type of real world problems we use union. Unlike structures union occupies single memory location to store all its members. So, unions are helpful when you want to store value in single member from a set of members. Size of union is defined according to size of largest member data type.

Step-by-step explanation:

In union, all members share the same memory location. For example in the following C program, both x and y share the same location. If we change x, we can see the changes being reflected in y. #include <stdio.h> // Declaration of union is same as structures.


Related Questions

which is perpendicular to the line x-2y=2

Answers

Answer:

y=-2x+5

Step-by-step explanation:

x-2y=2

2y=x-2

y=(x-2)/2

so the slope is 1/2

for lines to be perpendicular m1m2=-1 so the line must have a slope satisfying the condition

(1/2)m=-1

m=-2

the only line with a slope of -2

If is wrong i'm sorry

Simplify radicals please

Answers

Answer:

-24x^5 y^2 z^8 /3yz

The height of a cylinder is 4 millimeters.The circumference of its base is 10 pi mm​

Answers

[tex]\\ \sf\longmapsto C=10\pi mm[/tex]

[tex]\\ \sf\longmapsto 2\pi r=10\pi mm[/tex]

[tex]\\ \sf\longmapsto 2r=10[/tex]

[tex]\\ \sf\longmapsto r=5mm[/tex]

h=4mm

[tex]\\ \sf\longmapsto Volume=V=\pi r^2h[/tex]

[tex]\\ \sf\longmapsto V=\pi (5)^2(4)[/tex]

[tex]\\ \sf\longmapsto V=\pi 25(4)[/tex]

[tex]\\ \sf\longmapsto V=100\pi mm^3[/tex]

volume is 100pi mm³.

What is volume?

In mathematics, volume is the space taken by an object.

Here, given that,

The height of a cylinder is 4 millimeters.=h

The circumference of its base is 10 pi mm​=2r*pi

So, we get,

r=5

Volume =pi*r²*h

             =100pi mm³

Hence volume is 100pi mm³.

To learn more on volume click :

brainly.com/question/1578538

#SPJ2

The heights of Karina, Miya and Clint were 155cm, 158cm, and 161cm respectively. What is the height of Roger if the mean of all of them is 158cm?

Answers

Answer:

The height of Roger is 158cm

Step-by-step explanation:

All of them=158cm

They are 4.So,158^4=632cm

Height of 3 persons=155cm+158cm+161cm=474cm

Therefore the height of Roger is 632cm-474cm=158cm

The height of Roger with the mean of all of them is given is 158 cm.

Given that, the heights of Karina, Miya and Clint were 155cm, 158cm, and 161cm respectively.

What is mean?

In statistics, the mean refers to the average of a set of values. The mean can be computed in a number of ways, including the simple arithmetic mean (add up the numbers and divide the total by the number of observations).

Let the height of Roger be R.

Mean= 158 cm

We know that, mean =Sum of all the observations/Number of observations

⇒ (155+158+161+R)/4 =158

⇒ 474+R=632

⇒ R=632-474

⇒ R=158 cm

Hence, the height of Roger with the mean of all of them is given is 158 cm.

To learn more about an arithmetic mean visit:

https://brainly.com/question/15196910.

#SPJ2

what is 12/24 - 10/23

Answers

The LCD of 24 and 23 is 552, so 276/552 - 240/552 = 36. After simplifying 36/552, you get 3/46 and that is your answer.

A hedgehog wishes to cross a road without being run over.
He observes the angle of elevation of a lamp post on the other
side of the road to be 27° from the edge of the road and 15°
from a point 10m back from the road. How wide is the road?
Ifhe can run at 1 m/s-bew long will he take to cross?
If cars are travelling at 20 m/s, how far apart must they be if he
is to survive?

Answers

Answer:

15m long

Step-by-step explanation:

can someone help me please ?

Answers

Answer:

18 x^7 y^5

Step-by-step explanation:

The band needs to make at least $900.
Which inequality represents this situation?

Answers

Answer:

150y >=900

Step-by-step explanation:

next is six or more

PLEASE HELP DUE IN 10 MINUTES NOBODY WILL HELP IM DESPERATE SO I WILL GIVE BRAINLIEST 5 STARS AND A THANKS JUST QUESTION 2 PLEASE :C IM REALLY SORRY THERE ARE NOT A LOT OF POINTS

Answers

Answer:

(6,16)

Step-by-step explanation:

Solve for the first variable in one of the equations, then substitute the result into the other equation.

x=6, y=16

Solution is (3,10).

Sorry if I'm late

WILL MARK BRAINLIEST
Translate into expression
One-half the difference of thrice a number and four

Answers

Answer:

[tex]3x - 4[/tex] ÷ [tex]\frac{1}{2}[/tex]

C= 7.5x +25What is the dependant variable in the formula

Answers

Answer:   C

Step-by-step explanation:

'X' is the input while the 'C' is the output. Because the value of 'C' depends on the value of 'x', then C would be the dependent variable, and 'C' the independent variable.

Thirty-seven is twice a number increased by five.

Answers


37 = 2(n+5)

A number n is increased by 5 is (n+5). And 37 is twice of that so 2(n+5) is 37.

8.19 divided by 4.2 SHOW UR WORK DONT SAY DO CAUCULATIONS

Answers

Answer:

1.95

Step-by-step explanation:

We can use basic arithmetic to find the answer of your question through long division.

8.19/4.2 is basically 819/420, just multiplying both sides by 100 to get rid of the decimal point.

Using long division, we can subtract 420 from 819 to add 1 to the quotient and work with 399. Currently, our quotient is 1 with a remainder of 399

Since we can not get a positive number from 420-399, we must add a 0 to 3990 along with adding a decimal point to behind the 1. 420 can fit into 3990 9 times, so we add 9 after the decimal's point, and subtract 420*9=3780 from 3990, which is 210. Right now, our quotient is 1.9 with a remainder of 210.

Because we can not subtract 420 from 210 to get a positive number, we must add another 0 to 210 to get 2100. 420 can fit into 2100 5 times, so we remove 2100 from 2100, leaving no remainder. We also add 5 to the quotient, behind the 9. Now, our quotient is 1.95, the answer.

Answer:

1.95

Step-by-step explanation:

long division

what is the answer ?

Answers

Answer:

arc VW = 66°

Step-by-step explanation:

The inscribed angle WXY is half the measure of its intercepted arc WY, so

WY = 2 × 57° = 114°

Arc YX = 180° ( semi- circle ) , then

VW = YX - WY = 180° - 114° = 66°

Answer:

66°

Step-by-step explanation:

1) m(WY)=2*57=114°;

2) m(WX)=180-m(WY)=180-114=66°

Help me with math please

Answers

(-3^3+2 · -2^2)^2-4^4

(-27+2 · -4)^2-4^4

(-27+(-8))^2-4^4

-35^2-4^4

1225-256

969

translate the sentence into an inequality.
The product of w and 8 is greater than or equal to -16.

Answers

The inequality would be 8w≥-16

Answer:

8w ≥ -16

It's pretty simple.

Product means it has something to do with multiplication.

≥ This is the greater than or equal to sign.

Ig1000+log342 - 1 -123​

Answers

Answer:

log(342) - 121

Step-by-step explanation:

-121 + log(342) is a transcendental number

-115.165189262937394847783249972808918485...

What is the expression in factored form?
4x2 +11x+6
O (2x+3)(2x+2)
O (4x+1)(x+6)
O (2x+1)(2x+6)
(4x+3)(x+2)

Answers

Answer:  (4x + 3) (x + 2)

Step-by-step explanation:

We can rewrite 4x² + 11x + 6 as 4x² + 8x + 3x + 6

Since 4x² + 11x + 6  = 4x² + 8x + 3x + 6

                                = (4x + 3) (x + 2)

The  factors of the given expression  [tex]4x^2 +11x+6[/tex]  are  (x+8) and (x+3).

A collection of constants, variables connected using one or more arithmetic operator is called an expression.

An algebraic expression or a number that divides another number without leaving any remainder and the quotient is a whole number is called a factor.

The factors of the following expression can be calculated as:

[tex]4x^2 +11x+6[/tex] = [tex]x^2+ 8x+ 3x+24[/tex]

                     = x(x+8) +3(x+8)

                      = (x+8) (x+3)

Thus, the factors of the [tex]4x^2 +11x+6[/tex] are (x+8) (x+3)

Learn more about factors here:

https://brainly.com/question/29128446

#SPJ7

Danica and Irma are flying kites. Danica's kite is 7 times as high as Irma's kite. Danica's kite is 273 feet high. How high is Irma's kite?

A .280 feet


B. 39 feet


C. 1,911 feet


D. 40 feet​

Answers

Answer:

39

Step-by-step explanation:

273/7=39

Answer:

What is 39 feet

273 Divided By 7= 39 Feet

Please allow me to know if it helped by rating or thank you heart

Have a happy day!

Given the function h(x) = x2 – 7x + 6, determine the average rate of change of

the function over the interval 3 x < 7.

Answers

Step-by-step explanation:

the average rate of change between two input values is the total change of the function values (output values) divided by the change in the input values.

so,

(h(7) - (h(3)) / (7 - 3)

h(7) = 7² - 7×7 + 6 = 49 - 49 + 6 = 6

h(3) = 3² - 7×3 + 6 = 9 - 21 + 6 = -6

7 - 3 = 4

(6 - -6)/4 = 12/4 = 3

the average change rate in that interval is 3 (or fully 3/1).

I’ll give thanks, 5 stars and brainliest
Continue the pattern till the tenth digit. 1, 4, 9, 16,...

Answers

Answer:

25,36,49,64,81,100

................................

Answer:

Your answer is 1, 4, 9, 16, 25, 36, 49, 64, 81, 100.

Step-by-step explanation:

1 - 4  

+ 3

4 - 9

+ 5

9 - 16

+ 7

+9, +11, +13, +15, +17, +19...

Calculate the sum of each expression. Arrange the expressions in the order of their value from largest to smallest

Answers

Big bag don't mean everything wavy

I got 99 problems like Jay Z

Caught a felony judge tried to slave me

Lost my grandmother R.I.P Mavy

I got money and move shady

hhhhhhhhhhhheeeeeeeeeelllllpppppppppp me

Answers

Answer:

m<b=107º

Step-by-step explanation:

180-41-32=107

D and B are congruent

A little help? A set of numbers is given below. √72, 9.25, √83, 2, 8.7 Which list correctly orders the numbers from least to greatest?​

Answers

Answer:

9.25, 83^1/2, 8.7, 72^1/2, 2 From greatest to least

2, 72^1/2, 8.7, 83^1/2, 9.25 from least to greatest

Step-by-step explanation:

Free 10 pointss oh:>​

Answers

Answer:

oh it's 5 not 10 xD

The hazard management process consists of a number of activities designed to reduce loss of life and destruction of property. Natural hazard management has often been conducted independently of development planning. A distinctive feature of OAS technical assistance is the integration of the two processes.

Step-by-step explanation:

plz mark me as brainliest

have a great day

The answer is:
Thank you

The total area of Russian is about 20,000,000

Answers

Answer: 19,990,000 times

Step-by-step explanation: Land area of Russia = 20000000

Land area of Puerto Rico = 10000

20000000 -  10000 = 19,990,000

On this math problem please help me

Answers

Answer:

98.25 M/s

Step-by-step explanation:

Two rectangles have the same width. The length of one is 1 foot longer than the width. The length of the other is 2 feet longer than the width. The larger rectangle has 5 more square feet than the smaller. What is the width of the rectangles?

Answers

Answer:

Both Rectangles have a width of 4

Step-by-step explanation:

write the equation
it passes through (0,-2) and is perpendicular to the graph of y=5x+7

Answers

Step-by-step explanation:

the line passes through (0,-2) and perpendicular to the graph of y=5x+7.

solution :

the slope = -1/5

the equation :

y+2 = -1/5 (x-0)

y = -1/5x - 2

What is the value of this

Answers

Answer: -16  Happy to Help :)  Brainliest Please

Step-by-step explanation:

Answer:

-16

Step-by-step explanation:

Other Questions
The position data for line 3 was recorded in 1-second intervals. Draw a graph with distance on the y-axis and elapsed time on the x-axis. Reference all distance and time measurements to dot 1. To plot a point, use the circle tool. To draw a line between points, use the line tool. To move a point or line, use the select tool. At the bus station, buses depart a rate if 3 every 10 minutes. At the rate, how many buses would you expect to depart in one one hour?A. 6B. 15C. 18D. 30 The sum of the ages of Alice, Barbie & Cindy is 30. Alice is four times older than Cindy. Barbie is 3 years older than Alice. How old is Cindy?A. 12B. 21C. 9D. 3E. 15 A car rental agency charges $75 per day, which includes 100 miles. For each mile over 100 miles, there is an additional cost of $0.35 per mile. Write an equation relating m, the number of miles driven, if the total cost for a one-day rental was $131. 24, m2=110. Find the measures of angles 1, 3, and 4 and explain how you know. How did plactic revolutionize the U.s and the world? Please help in your own Vivian starts to like San Francisco better when she sees ways in which it is like Boston. A readercould agree or disagree with this statement. Choose the sentence from the story that could beused to support agreement with the statement.A "She thought it was too bad that San Francisco didn't get snow like Boston does."B"On the other hand, she thought about how much more fun the double-seated bike thatshe and her dad rode around Boston would be on these hills at least going down!" "Vivian smiled when she saw restaurants with names like Mama Mia and Mangia Bene,and red, white, and green flags hanging in the windows."D"She wondered if it were possible for San Francisco to be as wonderful as Boston." 2. Why do Americans worship, love and defend the ultra rich and other celebrities? Do you? Give an example. (a) What additional information is needed to prove the triangles are congruent by ASA Postulate? Explain.(b) What additional information is needed to prove the triangles are congruent by the HL Theorem? Explain. I NEED HELP PLEASE!!!Passing through (7,-2) and perpendicular to the line whose equation is y=1/2x+2Point slope form=Slope-intercept form= help with these questions, please...1 True or False: The fact that states can make their own laws is an example of separation of powers2 What percent of states must approve of a proposed amendment before it becomes part of the Constitution?a 34%b 50%c 65%d 75%3 At which level of government can changes to the U.S Constitution be proposed?a Localb Statec National d Executive4 Why did the framers feel it was necessary at times to amend the Constitution?a. amending the Constitution can reflect changing times, beliefs, and social conditions.b. amending the Constitution would allow for tyranny.c. amending the Constitution shows other countries how strong the U.S. government is.d. amending the Constitution allows for a smooth transition of power between political parties.5 Popular Sovereignty is established in the Preamble of the Constitution. What does Popular Sovereignty mean?a. Federalism - sharing power between the people and the governmentb. Federalism - sharing power between the state and national governmentc. The constitution rules the people. d. The people give consent to be ruled. Spanish has two ways of saying you. One is used to convey a formal relationship and one is used in informal relationships. The formal form of you can also be used to show respect. What is your opinion on this? Do you think it is useful? Or do you think it is confusing and unnecessary?Your response should be 3-5 sentences long and show that youve thought about the topic/question at hand. Please be aware we are looking for your personal opinion and there is not a single correct answer. how to solve 2(x+6)=4x=? evelyn is making a model of earth to show the features and properties of the layers. which of the following should evelyn show in her model? Which term best describes the relationship between blue and yellow? what were the most important changes and advancements that occurred? How did those changes impact European culture, politics, or religion? Would you say that the Renaissance and Reformation was a time of progress in Europe? Why or why not? See the Written Response Expectations for details on how to craft a response. What is the product of 246 and 176? to analyze the characteristics and performance of the brakes on a 1500 kg car, researchers collected the data shown in the table above. it shows the cars speed when the brakes are first applied and the corresponding braking distance required to stop the car. the magnitude of the average braking force on the car is most nearly: HELP! Of the following, what is the most important for ATP production?A) amount of sunlightB) carbon dioxide C) concentration water concentration D) glucose concentrationE) oxygen concentration What change, if any, should be made in sentence 21 ?we always etched tally marks in the door frame of one of the bedrooms to record our winsChange tally to talleyG) Insert a comma after bedrooms(H) Change etched to etches3) No change should be made in this sentence.