Hi Friends,
Can any body tell me how to access the structure elements without using
the elements name.
(e.g)
typedef struct {
char *ch;
int id;
float salary;
} Base;
Base orgin;
orgin + 0 point to the first element of Base ( ch )
orgin +1 point to second element of Base (id)
orgin + 2 point to Third element of Base ( salary)
Is it possible to access the elements like this , if yes please let me to know
Thanks&Regards,
Selvan.
Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download
Now! http://messenger.yahoo.com/download.php