anonymous
  • anonymous
How are arrays processed? Explain with an example.
Computer Science
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
schrodinger
  • schrodinger
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
rsmith6559
  • rsmith6559
Generally, you iterate through the array, processing each element: for( int i = 0; i < array.length(); i++ ) // process array[i];
anonymous
  • anonymous
they are rows
anonymous
  • anonymous
Arrays are blocks of similar data. They are processed using a zero based numbering system in most languages. You can either process them by indexing which rsmith6559 has above or you can do it iteratively with what is commonly called a foreach type loop.

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
In most C based languages e.g. c++,Java and so on. Arrays are a group of similar data type items. When you want to access a particular item of the array, you have to mention index of the item with array name. Index starts from 0( remember not from 1) and ends at number of items in the array - 1. //Save this as array.c //Compile using, gcc -o array array.c // Run as, ./array #include int main(int argc, char* argv[]){ char arr[8]; int i; arr[0]='I'; arr[1]='t'; arr[2]=' '; arr[3]='i'; arr[4]='s'; arr[5]=' '; arr[6]='C'; arr[7]='.'; for(i=0;i<8;i++){ printf("%c",arr[i]); } printf("\n"); return 0; } This program should help. For more visit http://that-i-understand.blogspot.com/ . Thanks.
anonymous
  • anonymous
wow

Looking for something else?

Not the answer you are looking for? Search for more explanations.