Is it possible for int* to have an odd value?

John Love-Jensen eljay@adobe.com
Wed Sep 1 13:12:00 GMT 2004


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



More information about the Gcc-help mailing list