Computer Science, asked by sayalidoshi315, 1 month ago

What is Union? Explain memory allocation using union.​

Answers

Answered by Sathwik077
1

Answer:

In C language union is a user defined datatype

basically every variable in union uses same memory address

and the size of union can be the size of biggest variable amoung the variables

ex: int x=20; double y=20;

when you calculate size in structures we get 2+8=12bytes

but in Union its only 8 bytes coz the 8 is highest size

Answered by Anonymous
1

Explanation:

Step-by-step explanation:

Explanation:

Q: Construct a right triangle whose base is 12cm and sum of its hypotenuse and other side is 18 cm??

Good Afternoon....✌

How are u all and my besties...ccn, hxjnnckxhxhshxhzhzhzhpWhat is the correct option to meet following requirement systematically: Marks, division and admission_year of 30 students?

(a) Structure alone

(b) Structure and array of structure objects

(c) Array alone

(d) Integer datatype alone

Q: Construct a right triangle whose base is 12cm and sum of its hypotenuse and other side is 18 cm??

Good Afternoon....✌

How are u all and my besties...ccn, hxjnnckxhxhshxhzhzhzhpWhat is the correct option to meet following requirement systematically: Marks, division and admission_year of 30 students?

(a) Structure alone

(b) Structure and array of structure objects

(c) Array alone

(d) Integer datatype alone

Q: Construct a right triangle whose base is 12cm and sum of its hypotenuse and other side is 18 cm??

Good Afternoon....✌

How are u all and my besties...ccn, hxjnnckxhxhshxhzhzhzhpWhat is the correct option to meet following requirement systematically: Marks, division and admission_year of 30 students?

(a) Structure alone

(b) Structure and array of structure objects

(c) Array alone

(d) Integer datatype alone

Q: Construct a right triangle whose base is 12cm and sum of its hypotenuse and other side is 18 cm??

Good Afternoon....✌

How are u all and my besties...ccn, hxjnnckxhxhshxhzhzhzhpWhat is the correct option to meet following requirement systematically: Marks, division and admission_year of 30 students?

(a) Structure alone

(b) Structure and array of structure objects

(c) Array alone

(d) Integer datatype alone

Q: Construct a right triangle whose base is 12cm and sum of its hypotenuse and other side is 18 cm??

Good Afternoon....✌

How are u all and my besties...ccn, hxjnnckxhxhshxhzhzhzhpWhat is the correct option to meet following requirement systematically: Marks, division and admission_year of 30 students?

(a) Structure alone

(b) Structure and array of structure objects

(c) Array alone

(d) Integer datatype alone

Explanation:

Q: Construct a right triangle whose base is 12cm and sum of its hypotenuse and other side is 18 cm??

Good Afternoon....✌

How are u all and my besties...ccn, hxjnnckxhxhshxhzhzhzhpWhat is the correct option to meet following requirement systematically: Marks, division and admission_year of 30 students?

(a) Structure alone

(b) Structure and array of structure objects

(c) Array alone

(d) Integer datatype alone

Q: Construct a right triangle whose base is 12cm and sum of its hypotenuse and other side is 18 cm??

Good Afternoon....✌

How are u all and my besties...ccn, hxjnnckxhxhshxhzhzhzhpWhat is the correct option to meet following requirement systematically: Marks, division and admission_year of 30 students?

(a) Structure alone

(b) Structure and array of structure objects

(c) Array alone

(d) Integer datatype alone

Q: Construct a right triangle whose base is 12cm and sum of its hypotenuse and other side is 18 cm??

Good Afternoon....✌

How are u all and my besties...ccn, hxjnnckxhxhshxhzhzhzhpWhat is the correct option to meet following requirement systematically: Marks, division and admission_year of 30 students?

(a) Structure alone

(b) Structure and array of structure objects

(c) Array alone

(d) Integer datatype alone

Q: Construct a right triangle whose base is 12cm and sum of its hypotenuse and other side is 18 cm??

Good Afternoon....✌

How are u all and my besties...ccn, hxjnnckxhxhshxhzhzhzhpWhat is the correct option to meet following requirement systematically: Marks, division and admission_year of 30 students?

(a) Structure alone

(b) Structure and array of structure objects

(c) Array alone

(d) Integer datatype alone

Q: Construct a right triangle whose base is 12cm and sum of its hypotenuse and other side is 18 cm??

Good Afternoon....✌

How are u all and my besties...ccn, hxjnnckxhxhshxhzhzhzhpWhat is the correct option to meet following requirement systematically: Marks, division and admission_year of 30 students?

(a) Structure alone

(b) Structure and array of structure objects

(c) Array alone

(d) Integer datatype alone

Explanation:

Q: Construct a right triangle whose base is 12cm and sum of its hypotenuse and other side is 18 cm??

Good Afternoon....✌

How are u all and my besties...ccn, hxjnnckxhxhshxhzhzhzhpWhat is the correct option to meet following requirement systematically: Marks, division and admission_year of 30 students?

(a) Structure alone

(b) Structure and array of structure objects

(c) Array alone

(d) Integer datatype alone

Q: Construct a right triangle whose base is 12cm and sum of its hypotenuse and other side is 18 cm??

Good Afternoon....✌

How are u all and my best

Similar questions