C Programming - Structures, Unions, Enums - Discussion
Discussion Forum : Structures, Unions, Enums - Yes / No Questions (Q.No. 5)
5.
A pointer union CANNOT be created
Discussion:
16 comments Page 1 of 2.
Shubh said:
5 years ago
Can any one explain clearly?
Deepthi said:
8 years ago
Can anyone give clear explanation?
Ashwin said:
8 years ago
Union is a self Referential pointer.
Ranjith said:
10 years ago
Can any one explain clearly?
Naresh said:
1 decade ago
What will happen if we create pointer of single data type, in this case pointer can be created?
Prakash said:
1 decade ago
What about gcc?
Pradip Walghude said:
1 decade 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".
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".
(1)
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:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers