GIDForums  

Go Back   GIDForums > Computer Programming Forums > C Programming Language
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 06-Jan-2006, 00:56
alcoholic's Avatar
alcoholic alcoholic is offline
Member
 
Join Date: Nov 2005
Posts: 170
alcoholic is on a distinguished road

storing of multidimensional arrays


I was reading about storing of multidimensional arrays. It said the C compiler stores multidimensional arrays in row-major order.
My question is it always row-major order or it varies from compiler to compiler...Is there anything which standard says about it?
__________________
Gravitation is not responsible for people falling in love.
-Albert Einstein
  #2  
Old 06-Jan-2006, 08:20
WaltP's Avatar
WaltP WaltP is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Midwest US
Posts: 3,258
WaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to all

Re: storing of multidimensional arrays


Always. Yes, the C Standard defines it.
__________________

Got a cough? Go home tonight and eat a whole box of Ex-Lax. Tomorrow, you'll be afraid to cough.
-- Pearl Williams
 
 

Recent GIDBlogToyota - 2008 November Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MultiDimensional Array from a .dat file joeyz C Programming Language 2 05-May-2005 20:26
Noob question on c arrays and functions brett C Programming Language 1 20-Apr-2005 04:59
Knight tour (arrays help needed) dilmv C++ Forum 7 18-Oct-2004 15:31
need help with passing 3 arrays into a function tommy69 C Programming Language 14 07-Apr-2004 01:22

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 09:14.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.