Re: Data structures question
- From: egusenet@xxxxxxxxxxx (Eric)
- Date: Tue, 26 Jul 2005 15:23:13 -0400
Shwetabh <shwetabhgoel@xxxxxxxxx> wrote:
> My question is, why are data structures implemented only with struct
> data type?
> Why not union when it is more efficient as compared with structures?
Well, depending on what I need to do, I will use which ever one is most
appropriate.
They are not interchangeable, but since you seem to be implying that
they are, I am wondering if you really understand the differences
between them.
.
- References:
- Data structures question
- From: Shwetabh
- Data structures question
- Prev by Date: Re: limited no'of times execution
- Next by Date: Re: question about random generator
- Previous by thread: Data structures question
- Next by thread: Re: Data structures question
- Index(es):
Relevant Pages
|