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

What is 9 plus 10???​

Answers

Answer:

21

Here’s legitimate proof that 9+10=21

(9 + 10) (base x) = 21 (base y)

9(1) + [1(x) + 0(1)] = 2(y) + 1

Simplify and solve for y:

2y = 8 + x

y = 4 + x/2

Since we have number bases, we want x and y to be positive integers. The term x/2 requires that x be a positive even number.

Also since 9 is in base x, we have x ≥ 10, as the digit 9 would not be used for a base 9 or smaller.

Thus we have the pairs of solutions:

x = 10, so y = 9

x = 12, so y = 10

x = 14, so y = 12

x, y = 4 + x/2 … Therefore 9+10=21!



A tennis racket with a price of $180 is subject to a sales tax of 7%. What is the total
price of the racket?
$192.60
$187

Answers

The total price of the racket is $192.60 (first option).

What is the total price?

A tax is a compulsory amount of money that is levied by the government or an agency of the government on goods and services. A sales tax is levied on the sales of goods and services.

The total price of the racket would include the amount of tax that would be paid.

Total price = (1 + tax/100) x initial price

Total price = (1 + 7%/100) x $180

Total price = (1 + 0.07) x $180

Total price = (1,07 x $180)  

Total price = $192.60

To learn more about taxes, please check: https://brainly.com/question/25311567

#SPJ1


What is 0.000000000325 in scientific notation?

Answers

Answer:

3.25*10^-10(is.3.25E−10)

3.25x10^-9

The coefficient must be between  1 and 10The negative exponent means the number is small

Hope it helps!

~Just a joyful teen

[tex]GraceRosalia :)[/tex]

How many milligrams are in a 2 tsp dose of liquid medication if there are 2.5 g in 2 fl oz?​

Answers

I think it’s 28 sorry if I’m wrong

Anyone know how to solve this? Pease show how you got the answer:)

Suppose you used one quarter of a sheet of paper for each ad and four full sheets for the title banner in Problem 2. How many ads could you make?

- 56 ads
-48 ads
-64 ads
-12 ads

Answers

- 56 ads jajjajahahahahajha

How do you shift exponential functions?

Answers

Answer:

Shift the graph of f(x)=bx f ( x ) = b x left c units if c is positive and right c units if c is negative. Shift the graph of f(x)=bx f ( x ) = b x up d units if d is positive and down d units if d is negative.

6.478×18.21 Multiply the equation

Answers

Answer:

117.96438

Step-by-step explanation:

6.478 x 18.21 = 117.96438

Answer: I believe it is 117.96

Step-by-step explanation:

6.478×18.21 = 117.96438 but there can only be two numbers after the decimal so you go to the third number after the decimal and round if it is lower than five the second number after the decimal stays the same if it is above five it will round the second number after the decimal up one in this case it will stay the same so the answer is 117.96

If LM = 22 and MN = 15 find LN

Answers

Answer:

LN = 37

Step-by-step explanation:

The Segment Addition Postulate tells us that LM+MN = LN

LN=37 because the number is even and odd so it will be 37

What will be the coordinates of the point A(7, -2) after a reflection across the y axis? *

Answers

Answer:

I believe it should be (-7,-2)

Step-by-step explanation:

what integer is equivelent to 25 3/2

Answers

Answer:

27

Step-by-step explanation:

4(v + 8) = 40

Which solutions makes this equation true?





1. 2


2. 4

Answers

1. 2 as 4 x 2 is 8 and 4 x 8 is 32 so 32 + 8 = 40
Answer: 2

Let’s try v = 4

4(4 + 8) = 40

PEMDAS says do what’s in the parentheses first so

4 x 12 = 40

Now multiply

4 x 12 = 48 not 40 so it’s not that

Now let’s try v = 2

4(2 + 8) = 40

Do what’s in the parentheses

4 x 10 = 40

So 2 is the answer

PEMDAS is

Parentheses
Exponents
Multiply
Divide
Add
Subtract

Hope this helps

You ate 1/6 of a pizza and your brother eats 5/8 of the pizza .How much did your brother eat compared to you

Answers

Answer:

Subtract: 5/8 - 1/6 = 5 · 3/8 · 3 - 1 · 4/6 · 4 = 15/24 - 4/24 = 15 - 4/24 = 11/24

For adding, subtracting, and comparing fractions, it is suitable to adjust both fractions to a common (equal, identical) denominator. The common denominator you can calculate as the least common multiple of both denominators - LCM(8, 6) = 24. In practice, it is enough to find the common denominator (not necessarily the lowest) by multiplying the denominators: 8 × 6 = 48. In the following intermediate step, the fraction result cannot be further simplified by canceling.

In other words - five eighths minus one sixth = eleven twenty-fourths.

I need this bonus question

Answers

Answer:

52 units^2

Step-by-step explanation:

The area of the dresser is simple. It is just a rectangle that is 4 units by 3 units.

A_dresser = LW = 4(3) = 12 units^2

The area of the bed is a little more complicated, but you can get by using just areas of rectangles.

See the picture below.

Notice that the entire bed fits within a square (shown in blue) that is 9 units by 9 units.

The area of the square is 81 units^2.

We need to subtract the areas of the 4 triangles at the corners.

There are two triangles, top left and bottom right (shown in green), that have a base of 5 and a height of 5. They combine to for a square that is 5 units by 5 units. The area of this square is 25 units^2.

There are two triangles, top right and bottom left (shown in red), that have a base of 4 and a height of 4. They combine to for a square that is 4 units by 4 units. The area of this square is 16 units^2.

Now subtract 25 and 16 from 81 to get the area of the bed.

81 - 25 - 16 = 40

A_bed = 40 units^2

Combined area of bed and dresser:

A = 40 units^2 + 12 units^2 = 52 units^2

Answer: 52 units^2

Here's another way of finding the area of the bed:

Count the number of full squares inside the bed (there are 31). Each full square is 1 unit^2. Then count the number of half-squares inside the bed (there are 18). Each half-square is 1/2 units^2. Add them all up:

31 + 1/2 * 18 = 31 + 9 = 40

You get 40 units^2

I need to show my work help

Answers

Answer:

it will take 90 minutes

Step-by-step explanation:

10 - 6 = 9

9 x 10 = 90

Answer:

give the other guy brainliest he deserves it

Step-by-step explanation:

(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.

Answers

Answer:

A)

The Angle-Side-Angle Postulate (ASA) states that if two angles and the included side of one triangle are congruent to two angles and the included side of another triangle, then the two triangles are congruent.

B)

H-L (Hypotenuse-Leg) Congruence Theorem. If the hypotenuse and leg in one right triangle are congruent to the hypotenuse and leg in another right triangle, then the two triangles are congruent.

Hope this helped

A farmer owns a total of 8 acres of land. The land is separated into (3)1/3 equally sized sections. How many acres are in each section?
Write your answer as a mixed number in simplest form.

Answers

Answer:

each section is 2 2/3 or 2.66666666

Step-by-step explanation:

hey uhm can someone answer this for 12 points

Answers

[tex] \frac{0.2x - 3.2}{5} = 1.8 \\ 0.2x - 3.2 = 1.8 \times 5 \\ 0.2x - 3.2 = 9 \\ 0.2x = 9 + 3.2 \\ 0.2x = 12.2 \\ x = \frac{12.2}{0.2} \\ \boxed{ x = 61}[/tex]

The answe is x=61 because x=61

I need to factor this problem PLEASE HELP ASAP

Answers

Answer:

[tex] - 3x(x - 3)^{2} [/tex]

Step-by-step explanation:

[tex] - 3x^{3} + 18x - 27x[/tex]

->

[tex] - 3x( {x}^{2} - 6x + 9)[/tex]

->

[tex] - 3x(x - 3)^{2} [/tex]

All of the following have the same value except _____.

9 + (-6)
6 - 9
9 - 6
-6 - (-9)

Answers

Answer:

tge first one

Step-by-step explanation:

have a great day

pls mark as brainliest

the answer is the first one

Solve) A = 1/2 h ( a + b ), solve for h

Answers

Step-by-step explanation:

A=½h(a+b)

h(a+b)=2A

h=2A/(a+b).

hope this helps you.

I need some help with this thank you!

Answers

For part A, x equals 0.

Therefore (7²)⁰=7⁰=1

For part B, x could be any number because 0 multiplied by any number equals 0. eg. (7⁰)⁹=7⁰=1

Hope this helps!

Movie tickets now average $9.75 per ticket, but are increasing 7% each year.
What is the growth factor?

Answers

Answer:

The Tickets grow approximately ¢68 or $0.68 each year

Step-by-step explanation:

7% of 9.75 = 0.68

A percentage is out of a fraction of 100; 7/100

Hope This Helps!

Help me plz and thank you

Answers

x+5°=2x-25°
x-2x=-25-5
-x=-30°
x=30°

x+5°= y+28°
30°+5°= y+28°
35°= y+28°
y= 35°-28°
y=7°

1. What percent of 56 is 14?

Answers

Answer:

25

Step-by-step explanation:

14 ÷ 56 × 100

please let me know the answer for brainlest this is important!!

Answers

Answer:

31/ 32

Step-by-step explanation:

Switch the fractions and multiply. This will work in place of division.

31/32 is already in the simplest form, you can't simplify it anymore.

-kiniwih426


1. What is the difference between
checking account and a savings
account?
a

Answers

Answer: A checking account is the account you take money out of. A savings account is where you put money to save it.

Step-by-step explanation:

Saving you put money in to save and not use/touch and Checking you put money in and you can use

What does the ft part mean?

Answers

Answer:

Feet

Step-by-step explanation:

Its an abbreviation of feet, which is a measure unit.

Find each measure! Please please help me!!! 40 points!! No files!!!

Answers

Answer:

44º

44º

136º

22º

Step-by-step explanation:

If you want i can explain in the comments.

What is the value of each number in 8,236,014,597?

Answers

Answer:

8= 8 Billion,2 = 2 Hundred Million,  3 = 30 Million , 6 = 6 Million , 0 =Hundred Thousands , 1 = 10 Thousand , 4 = 4 Thousand , 5 = 5 Hundreds , 9= 9 Tens, and  7 = 7 Ones

Step-by-step explanation:

The fraction mode below shows the steps a student performed to find a quotient. Which statement best interprets the quotient

Answers

Answer: i belive its C

Step-by-step explanation: May i have brainiest

Other Questions
can someone help me, please? Write the number of each atom in the chemical formulas for all of the possible combinations of positive and negative ions found on the cards. You can use the cards to figure out the formula by making as many copies of the cards as necessary to get them to line up exactly equally.Example:Na__Cl___The chemical formula is NaCl, so you would place a 1 in the box for both Na and Cl. Maman, quelle heure est-il? il est cinq heures moin dix Tu es, presse? Ouf! Nous sommes juste l'heure! Nous avons rendez-vous cinq heures et demie. Given m n, find the value of x andy. whats this i have been struggling for this . 5(3x2)=x10 Dont answer on this or ur sus What was the most important factor to contribute to World War I? Explain Can someone help me on a 5 paragraph essay on citizenship and the constitution In buying an existing business the prospective buyer should ask questions about the operation of the business which of the following would be an appropriate question to ask Around 1805, only a few years after Conrads discovery, newspapers began reporting on gold-mining activities and people coming into the area to search for gold. William Thornton, of Baltimore, Maryland, designer of the United States Capitol, was one of these seekers. After learning of the gold, he purchased thirty-five thousand acres of land in Montgomery (now Stanly) County and formed the North Carolina Gold Mine Company. By 1806, investors in this company included a former governor of Maryland and the treasurer of the United States.The North Carolina Gold Rush,Rebecca LewisWhat does this passage suggest about the discovery of gold in North Carolina?The gold rush brought many different kinds of people to the state.The gold rush resulted in many people from North Carolina moving to other states.The gold rush attracted only unskilled laborers to the state. The gold rush had little effect on population changes in North Carolina. French help thanks guys! economic products designed to satisfy people wants and needs are called plz help i reward brainliestplz no silly answers too Each X shows the location of an archer's arrow on a bull's-eye target. The archer was aiming for the center circle. X xx X x x Which words best describe the archer's results? where do daughter cells come from A theater has 30 rows of seats. There are 22 seats in the first row, 26 in the second row, 30 in the third row, etc. How many people will the theater hold ? You put 56 green marbles and 24 yellow marbles into bags. Each bag has the same number of green marbles and the same number of yellow marbles. What is the greatest possible number of bags you can make using all the marbles? How many green marbles are in each bag? How many yellow marbles? Two of the four main classes of organic compounds are proteins and nucleic acids. What is the relationship between proteins and nucleic acids? solve pls branliest! A grocery store orders 3 large cartons of eggs for every 7 small cartons of eggs. Which ratio could represent the number of large cartons of eggs to small cartons of eggs in an order from the grocery store?