•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C section within the Software Development category of DaniWeb, a massive community of 370,609 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,062 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C advertiser:
Views: 1506 | Replies: 2
![]() |
•
•
Join Date: Sep 2006
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
hi,
in my last lecture i had faced a quiz, it was related to two dimensional array.i was unable to solve it.the question is
"you are required to find a generic formula of the two dimensional array that how memory is being allocated for two dimensional array ?how compiler know that it has to skip certain column or how new array is start ?we also that memory is linear
please consign me website related to two dimensional array
thank you
in my last lecture i had faced a quiz, it was related to two dimensional array.i was unable to solve it.the question is
"you are required to find a generic formula of the two dimensional array that how memory is being allocated for two dimensional array ?how compiler know that it has to skip certain column or how new array is start ?we also that memory is linear
please consign me website related to two dimensional array
thank you
•
•
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 10,104
Reputation:
Rep Power: 34
Solved Threads: 806
•
•
Join Date: Oct 2007
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
hi,
in my last lecture i had faced a quiz, it was related to two dimensional array.i was unable to solve it.the question is
"you are required to find a generic formula of the two dimensional array that how memory is being allocated for two dimensional array ?how compiler know that it has to skip certain column or how new array is start ?we also that memory is linear
please consign me website related to two dimensional array
thank you
hi!!!! nice to know ur question
the basic funda behind that is two demensional array is stored in memory rowwise ie.
eg 1 2
3 4
this metrix will store in memory as location 2000 1
2001 2
2002 3
2003 4
so there is no question of skipping any thing
if not understood arguments will be appreciated
thanks
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb C Marketplace
- Validation with js of two dimensional array (JavaScript / DHTML / AJAX)
- 2 dimensional array class (C)
- multi dimensional array search xml parser (PHP)
- Need help passing a multi-dimensional array (C++)
- Trying to create a method to convert string letters into a two dimensional array (Java)
- Need Help With two-dimensional array (VB.NET)
Other Threads in the C Forum
- Previous Thread: Parse Error
- Next Thread: Creating a help menu to accompany a program



Linear Mode