All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrei Bunghez <andrei.bunghez@gmail.com>
To: Ankit Jain <ankitjain1580@yahoo.com>
Cc: linux prg <linux-c-programming@vger.kernel.org>
Subject: Re: constant in C
Date: Fri, 24 Sep 2004 10:18:31 +0300	[thread overview]
Message-ID: <a7ed6e3304092400187377b2d6@mail.gmail.com> (raw)
In-Reply-To: <20040924033646.62233.qmail@web52901.mail.yahoo.com>

Hmm.. actually you can use sizeof(const), and it returns 4, as
123456789 is a unsigned int constant.

Andrei


On Fri, 24 Sep 2004 04:36:46 +0100 (BST), Ankit Jain
<ankitjain1580@yahoo.com> wrote:
> what is the size of the constant
> 
> i.e #define const 123456789
> 
> thanks
> 
> ankit
> 
> ________________________________________________________________________
> Yahoo! Messenger - Communicate instantly..."Ping"
> your friends today! Download Messenger Now
> http://uk.messenger.yahoo.com/download/index.html
> -
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

      parent reply	other threads:[~2004-09-24  7:18 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     ` Fwd: " Uday Karan
2004-09-24 10:17       ` Micha Feigin
2004-09-24 10:47         ` Ankit Jain
2004-09-25  0:53           ` Micha Feigin
2004-09-24  7:18 ` Andrei Bunghez [this message]

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=a7ed6e3304092400187377b2d6@mail.gmail.com \
    --to=andrei.bunghez@gmail.com \
    --cc=ankitjain1580@yahoo.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.