Hi!
say I have a char *c pointing to an array of 10 bytes.
When i do (int *)c++ (increment before typecast -- forget the brackets for
nw), and equate it t an int *i then
*i will return 2nd to fifth bytes as integer. Is this correct ?
And supose the typecase is beore the incerenent like so :
((int *)c)++ then *i will return 5th to 8th byes. is this correct ?
aslo how is exception handling implemented ? Does the processor have
exception registers ?
Also if I have allocated a struct liek :
struct {
int i;
char b;
}str;
which is obviously 5 butes large.
Than whenre will the proceessor allocate the next bit of memory ?
Directly after the char b byte?
- [SOLVED--SUMMARY] Re: a program to rea... Hossein S. Zadeh
- Re: a program to read one's mailbox? Vitaly Fedrushkov
- Re: ??? Torbj�rn Kristoffersen
- Re: ??? Glynn Clements
- Re: ??? James
- container class ? Chetan Sakhardande
- Re: container class ? James
- Re: container class ? Glynn Clements
- Null pointers Chetan Sakhardande
- Re: container class ? Chetan Sakhardande
- Re: poniter problem Amol Mohite
- Re: poniter problem Glynn Clements
- Re: poniter problem Amol Mohite
- Re: poniter problem Glynn Clements
- Re: poniter problem Amol Mohite
- Re: poniter problem Glynn Clements
- Re: poniter problem James
- exceptions Amol Mohite
- Re: ??? Glynn Clements
