From: Uday Karan <uday.karan@gmail.com>
To: linux-c-programming@vger.kernel.org
Subject: Fwd: constant in C
Date: Fri, 24 Sep 2004 13:03:17 +0530 [thread overview]
Message-ID: <4f2e7cd304092400333259f597@mail.gmail.com> (raw)
In-Reply-To: <4f2e7cd304092400315c83fd1e@mail.gmail.com>
Sorry didn't CC to list.
> Therefore you cannot use sizeof(const), &const etc.
sizeof (CONST) can be done and would return the size of an integral
type that would be able to hold that value, could be 4 for ints or 8
for long ints, if none of these can take up the value (because you're
substitutive constant is insanely large), the compiler would usually
give out a warning (if truncating) or an error straightaway.
- Uday
next prev parent reply other threads:[~2004-09-24 7:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-24 3:36 constant in C Ankit Jain
2004-09-24 7:16 ` Andrei Bunghez
[not found] ` <4f2e7cd304092400315c83fd1e@mail.gmail.com>
2004-09-24 7:33 ` Uday Karan [this message]
2004-09-24 10:17 ` Fwd: " Micha Feigin
2004-09-24 10:47 ` Ankit Jain
2004-09-25 0:53 ` Micha Feigin
2004-09-24 7:18 ` Andrei Bunghez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4f2e7cd304092400333259f597@mail.gmail.com \
--to=uday.karan@gmail.com \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.