Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | nick_keighley_nospam@hotmail.com |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: i think i found |
| Date | 2012-03-10 03:13 -0800 |
| Organization | http://groups.google.com |
| Message-ID | <28279677.2432.1331377983172.JavaMail.geo-discussion-forums@vbbfy7> (permalink) |
| References | <jje9kd$d14$1@reader1.panix.com> |
On Saturday, March 10, 2012 1:09:33 AM UTC, Joe keane wrote:
> How about this?
>
> int f(int x)
> {
> int a[2];
> int *p;
>
> p = &a[0];
> *p = 2;
> ++p;
> *p = 3;
> /* printf("%d %d\n", a[0], a[1]); */
> }
>
> That pretty much has to work, right?
>
> So what's the deal with arrays of arrays?
what?
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
i think i found jgk@panix.com (Joe keane) - 2012-03-10 01:09 +0000
Re: i think i found Ian Collins <ian-news@hotmail.com> - 2012-03-10 14:23 +1300
Re: i think i found nick_keighley_nospam@hotmail.com - 2012-03-10 03:13 -0800
Re: i think i found Barry Schwarz <schwarz45@yahoo.com> - 2012-03-10 09:17 -0800
Re: i think i found pete <pfiland@mindspring.com> - 2012-03-10 19:22 -0500
Re: i think i found James Kuyper <jameskuyper@verizon.net> - 2012-03-10 20:14 -0500
Re: i think i found pete <pfiland@mindspring.com> - 2012-03-10 21:59 -0500
Re: i think i found jgk@panix.com (Joe keane) - 2012-03-12 17:29 +0000
Re: i think i found jgk@panix.com (Joe keane) - 2012-03-11 19:35 +0000
Re: i think i found Keith Thompson <kst-u@mib.org> - 2012-03-11 13:06 -0700
Re: i think i found jgk@panix.com (Joe keane) - 2012-03-13 20:27 +0000
Re: i think i found Keith Thompson <kst-u@mib.org> - 2012-03-13 15:25 -0700
Re: i think i found jgk@panix.com (Joe keane) - 2012-03-14 23:34 +0000
Re: i think i found Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-03-14 20:38 -0400
Re: i think i found Tim Rentsch <txr@alumni.caltech.edu> - 2012-03-15 18:03 -0700
Re: i think i found jgk@panix.com (Joe keane) - 2012-03-17 17:34 +0000
Re: i think i found Keith Thompson <kst-u@mib.org> - 2012-03-17 18:02 -0700
Re: i think i found jgk@panix.com (Joe keane) - 2012-03-19 15:41 +0000
Re: i think i found Tim Rentsch <txr@alumni.caltech.edu> - 2012-03-21 05:52 -0700
csiph-web