C Programming - Structures, Unions, Enums - Discussion

Discussion Forum : Structures, Unions, Enums - Yes / No Questions (Q.No. 5)
A pointer union CANNOT be created
Answer: Option
No answer description is available. Let's discuss.
16 comments Page 1 of 2.

Shubh said:   4 years ago
Can any one explain clearly?

Deepthi said:   7 years ago
Can anyone give clear explanation?

Ashwin said:   7 years ago
Union is a self Referential pointer.

Ranjith said:   8 years ago
Can any one explain clearly?

Naresh said:   9 years ago
What will happen if we create pointer of single data type, in this case pointer can be created?

Prakash said:   9 years ago
What about gcc?

Pradip Walghude said:   10 years ago
Union allocates memory big data type variable. All variable memory is always same.

Praphulla said:   1 decade ago
@Vaibhav & @Varun:

As externally, both paradigm looks same but internally work of both of them is completely different.

So in another way we can say:

"union are as like structure but not in all cases".

Varun said:   1 decade ago
But not in all cases. Union doesn't work as structure. @vaibhav.

Vaibhav said:   1 decade ago
Union is work same as structure.

Post your comments here:

Your comments will be displayed after verification.