1. for programming questions always try  stackoverflow.com
2. how arrays are processed in c.
an array is just a list of items in memory stored sequentially one after the
other.   items are referenced by their index number which is just the number
of items from the beginning to the item in question. c provides you access
to low level memory pointers so you can manipulate them as you please... so
knowing the address of one item in memory you can easily get the next one by
just incrementing the memory address by the size of the array type ... e.g
char is b bits long

so the way arrays are processed , during the processing of the array
element, the register will store the base memory address of the first
element in the array as well as the offset(the index of the element)..

in short arrays are processed as memory  pointers .


On Thu, Nov 11, 2010 at 12:40 PM, kibalama francis <
[email protected]> wrote:

> Thx members....u know the good thing with 'C' it can be used on most
> operating system so am trying my examples in ubuntu as well.
>
> On Thu, Nov 11, 2010 at 12:37 PM, Seth Herr <[email protected]> wrote:
>
>> You might try here:
>>
>> http://www.iu.hio.no/~mark/CTutorial/CTutorial.html#Arrays<http://www.iu.hio.no/%7Emark/CTutorial/CTutorial.html#Arrays>
>>
>> Seth
>>
>> On Thu, Nov 11, 2010 at 12:19 PM, kibalama francis <
>> [email protected]> wrote:
>>
>>> Am a student and am trying to do my course works.....does any one know
>>> this question:  How are arrays processed in ā€˜C’? Illustrate by taking
>>> two-dimensional arrays as examples.
>>> will be grateful
>>>
>>>
>>> --
>>> Thanks so much and stay blessed.
>>> kibalama francis
>>> Technician DICTS Makerere University.
>>>
>>> Volunteer:
>>> - Baveeko Basome
>>> - URF Kampala Chapter
>>> Contact; +256751361058
>>> Email: [email protected]
>>> Email: [email protected]
>>> Email: [email protected]
>>> http://www.ugandaruralfund.org
>>> http://baveekobasome.org/index.php
>>>
>>> "He paid my Ransom"
>>>
>>>
>>>
>>> _______________________________________________
>>> LUG mailing list
>>> [email protected]
>>> http://kym.net/mailman/listinfo/lug
>>>
>>> LUG is generously hosted by INFOCOM http://www.infocom.co.ug/
>>>
>>> All Archives can be found at
>>> http://www.mail-archive.com/[email protected]/
>>>
>>> The above comments and data are owned by whoever posted them (including
>>> attachments if any). The List's Host is not responsible for them in any way.
>>> ---------------------------------------
>>>
>>>
>>>
>>
>> _______________________________________________
>> LUG mailing list
>> [email protected]
>> http://kym.net/mailman/listinfo/lug
>>
>> LUG is generously hosted by INFOCOM http://www.infocom.co.ug/
>>
>> All Archives can be found at http://www.mail-archive.com/[email protected]/
>>
>> The above comments and data are owned by whoever posted them (including
>> attachments if any). The List's Host is not responsible for them in any way.
>> ---------------------------------------
>>
>>
>>
>
>
> --
> Thanks so much and stay blessed.
> kibalama francis
> Technician DICTS Makerere University.
>
> Volunteer:
> - Baveeko Basome
> - URF Kampala Chapter
> Contact; +256751361058
> Email: [email protected]
> Email: [email protected]
> Email: [email protected]
> http://www.ugandaruralfund.org
> http://baveekobasome.org/index.php
>
> "He paid my Ransom"
>
>
>
> _______________________________________________
> LUG mailing list
> [email protected]
> http://kym.net/mailman/listinfo/lug
>
> LUG is generously hosted by INFOCOM http://www.infocom.co.ug/
>
> All Archives can be found at http://www.mail-archive.com/[email protected]/
>
> The above comments and data are owned by whoever posted them (including
> attachments if any). The List's Host is not responsible for them in any way.
> ---------------------------------------
>
>
>
_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug

LUG is generously hosted by INFOCOM http://www.infocom.co.ug/

All Archives can be found at http://www.mail-archive.com/[email protected]/

The above comments and data are owned by whoever posted them (including 
attachments if any). The List's Host is not responsible for them in any way.
---------------------------------------

Reply via email to