7 years ago in C Structures And Unions

Which of the following comment about Union is false?

[A] Union is a structure whose members share same memory area
[B] The compiler will keep track of what type of information is currently stored
[C] Only one of the members of union can be assigned a value at particular time
[D] Size allocated for Union is the size of its member needing the maximum storage
Loading...
Next Question

Overall Stats

Attempted 146
Correct 18
Incorrect 46
Viewed 82

Answers

Guest
Guest
Anshul Ishwarkar - 11 months ago

Lavde ans bata zatu

Pulkit Jain
Pulkit Jain - 1 week ago

Pulkit Jain is saying Only one of the members of union can be assigned a value at particular time is correct answer

Aadhithya Dinesh
Aadhithya Dinesh - 3 weeks ago

Aadhithya Dinesh is saying Union is a structure whose members share same memory area is correct answer

s g m
s g m - 4 years ago

s g m from Solapur, India is saying Union is a structure whose members share same memory area is correct answer

naveen kalusalingam
naveen kalusalingam - 4 years ago

naveen kalusalingam from Chennai, India is saying Only one of the members of union can be assigned a value at particular time is correct answer

Related Questions

Which operator is used to connect structure name to its member name?

  • [A] dot operator(.)
  • [B] logical operator(&&)
  • [C] pointer operator(&)
  • [D] Arrow operator(->)

Which of the following comment about the usage of structures in true?

  • [A] Storage class can be assigned to individual member
  • [B] Individual members can be initialized within a structure type declaration
  • [C] The scope of the member name is confined to the particular structure, within which it is defined
  • [D] None of above

A -> B is syntactically correct if?

  • [A] a and b are structure
  • [B] a is a structure and b is a pointer to structure
  • [C] a is a pointer to structure and b is a structure
  • [D] a is a pointer to structure in which b is a field

For accessing a structure element using a pointer,you must use?

  • [A] Pointer operator (&)
  • [B] Dot operators(.)
  • [C] Pointer operator(*)
  • [D] Arrow operator(->)