On Jan 14, 11:49=A0pm, Hans-Bernhard Br=F6ker <HBBroe...@[EMAIL PROTECTED]
>
wrote:
> sigmacunfu wrote:
> > 1. I want to know, if it's possible to have a pointer that is pointing
> > to an individual bit, say, of an "int"?
>
> No. =A0Not in the language that is the topic of this newsgroup, anyway.
>
> > 2. Suppose that I have declared a "unsigned int", using bitwise
> > operations, I have set the higher 16 bits to 1, is it possible now
> > that without using bitwise operations, I could copy a 16-bit "unsigned
> > short" into its lower 16 bits?
>
> No. =A0Or rather: only by venturing into the realm of undefined
behaviour.=
>
> For starters, you don't even get to know that an unsigned in _has_
> separate upper and lower 16 bit parts to be written to. =A0It could be a
> 16-bit integer.
> --
> comp.lang.c.moderated - moderation address: c...@[EMAIL PROTECTED]
-- you
must
> have an appropriate newsgroups line in your header for your mail to be
see=
n,
> or the newsgroup name in square brackets in the subject line. =A0Sorry.
i want to become good programmer but iam failing to understand simple
program .please can u help me out.
--
comp.lang.c.moderated - moderation address: clcm@[EMAIL PROTECTED]
-- you must
have an appropriate newsgroups line in your header for your mail to be
seen,
or the newsgroup name in square brackets in the subject line. Sorry.


|