* Is it possible for int* to have an odd value?
@ 2004-09-01 10:57 learning c++
2004-09-01 13:12 ` John Love-Jensen
2004-09-01 14:09 ` Ishwar Rattan
0 siblings, 2 replies; 3+ messages in thread
From: learning c++ @ 2004-09-01 10:57 UTC (permalink / raw)
To: gcc-help
Hi:
I have a problem.
What on your system, are the restrictions on the pointer types char* int*
and void* ? for example, may an int* have an odd value? Hint: alignment.
Please help me.
Thanks,
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Is it possible for int* to have an odd value?
2004-09-01 10:57 Is it possible for int* to have an odd value? learning c++
@ 2004-09-01 13:12 ` John Love-Jensen
2004-09-01 14:09 ` Ishwar Rattan
1 sibling, 0 replies; 3+ messages in thread
From: John Love-Jensen @ 2004-09-01 13:12 UTC (permalink / raw)
To: learning c++, gcc-help
Hi Learning C++,
> What on your system, are the restrictions on the pointer types char* int*
> and void* ? for example, may an int* have an odd value? Hint: alignment.
That looks an suspiciously like a homework question. This forum is not the
appropriate forum for homework questions.
Please speak with your professor or teacher's assistant.
Sincerely,
--Eljay
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Is it possible for int* to have an odd value?
2004-09-01 10:57 Is it possible for int* to have an odd value? learning c++
2004-09-01 13:12 ` John Love-Jensen
@ 2004-09-01 14:09 ` Ishwar Rattan
1 sibling, 0 replies; 3+ messages in thread
From: Ishwar Rattan @ 2004-09-01 14:09 UTC (permalink / raw)
To: learning c++; +Cc: gcc-help
Hint: underlying processor architecture dependent
-ishwar
On Wed, 1 Sep 2004, learning c++ wrote:
> Hi:
> I have a problem.
>
> What on your system, are the restrictions on the pointer types char* int*
> and void* ? for example, may an int* have an odd value? Hint: alignment.
>
> Please help me.
>
> Thanks,
>
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-09-01 14:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-01 10:57 Is it possible for int* to have an odd value? learning c++
2004-09-01 13:12 ` John Love-Jensen
2004-09-01 14:09 ` Ishwar Rattan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).