Article View: comp.unix.programmer
Article #3685Array indexing, using negative numbers
From: Shayne G. Wright
Date: Tue, 04 Jun 1996 00:00
Date: Tue, 04 Jun 1996 00:00
12 lines
1070 bytes
1070 bytes
Hello Is it possible to index an array using negative numbers ? If so, could someone provide me with an example, or point me towards an appropriate resource. I thought that this would be in the FAQ, but I couldn't find it. Take Care Shayne
Technical Details
Message-ID:
<4p279v$c7s@sue.cc.uregina.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,f0d773120c7fbbea,start X-Google-Attributes: gid11318c,public X-Google-Thread: fc89c,f0d773120c7fbbea,start X-Google-Attributes: gidfc89c,public X-Google-Thread: 1014db,f0d773120c7fbbea,start X-Google-Attributes: gid1014db,public From: wright@HERCULES.CS.UREGINA.CA (Shayne G. Wright) Subject: Array indexing, using negative numbers Date: 1996/06/04 Message-ID: <4p279v$c7s@sue.cc.uregina.ca> X-Deja-AN: 158450317 sender: Shayne G. Wright bcc: wright@cs.uregina.ca followup-to: comp.lang.c organisation: University of Regina, Dept. of Computer Science summary: Is it possible to index arrays using negatives numbers ? organization: University of Regina newsgroups: comp.unix.programmer,comp.lang.c,gnu.gcc.help