Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #20375

Re: Possible occurrences of "char [3]"

Message-ID <4FA3850E.9030307@loria.fr> (permalink)
Date 2012-05-04 09:28 +0200
From Jens Gustedt <jens.gustedt@loria.fr>
Newsgroups comp.lang.c
Subject Re: Possible occurrences of "char [3]"
References <4af8a9a8-fe7c-4961-8e49-ff02da2a4b6d@m10g2000vbb.googlegroups.com>
Organization Guest of ProXad - France

Show all headers | View raw


Am 05/03/2012 11:03 PM, schrieb John Reye:
> Hi there,
> 
> where could the following legally occurr in C code - not counting in
> strings ;)
> 
>         char [3]
> 
> 
> I can think only of:
>         sizeof(char [3]);
> Are there any other possibilities?

_Alignof(char[3])
_Alignas(char[3])

and their counteparts with macros alignof and alignas

Jens

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Possible occurrences of   "char [3]" John Reye <jononanon@googlemail.com> - 2012-05-03 14:03 -0700
  Re: Possible occurrences of   "char [3]" Ben Pfaff <blp@cs.stanford.edu> - 2012-05-03 14:09 -0700
  Re: Possible occurrences of "char [3]" John Reye <jononanon@googlemail.com> - 2012-05-03 14:13 -0700
    Re: Possible occurrences of "char [3]" John Reye <jononanon@googlemail.com> - 2012-05-13 05:10 -0700
      Re: Possible occurrences of "char [3]" Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-05-15 03:19 +0100
        Re: Possible occurrences of "char [3]" Jens Gustedt <jens.gustedt@loria.fr> - 2012-05-15 22:17 +0200
          Re: Possible occurrences of "char [3]" Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-05-15 21:28 +0100
            Re: Possible occurrences of "char [3]" Jens Gustedt <jens.gustedt@loria.fr> - 2012-05-16 08:18 +0200
              Re: Possible occurrences of "char [3]" Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-05-16 12:20 +0100
              Re: Possible occurrences of "char [3]" Tim Rentsch <txr@alumni.caltech.edu> - 2012-05-17 14:59 -0700
        Re: Possible occurrences of "char [3]" Tim Rentsch <txr@alumni.caltech.edu> - 2012-05-17 14:53 -0700
  Re: Possible occurrences of   "char [3]" Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-05-03 22:28 +0100
  Re: Possible occurrences of   "char [3]" Jens Gustedt <jens.gustedt@loria.fr> - 2012-05-04 09:28 +0200
  Re: Possible occurrences of   "char [3]" "Scott Fluhrer" <sfluhrer@ix.netcom.com> - 2012-05-04 17:10 -0400

csiph-web