myboy-avatar

Kindly provide the general form (syntax) of accessing an array component.

I'm preparing for my exams. Can some one provide the method to access a particular array component.
0%

5 replies

over 13 years ago
goofy-6-avatar
"The general form (syntax) of accessing an array component is:_x000D_ arrayName[indexExp]_x000D_ where indexExp, called index, is any expression whose value is a non-negative integer_x000D_ -Index value specifies the position of the component in the array_x000D_ -The [] operator is called the array sub-scripting operator_x000D_ -The array index always starts at 0_x000D_ _x000D_ _x000D_ Source: http://in.docsity.com/en-docs/Introduction+to+Computing-Computer+Fundamentals-Lecture+Slides"
over 13 years ago
ramesh-avatar
With computing, selection entry examination is often a compiler analysis used to come to a decision the actual read accessibility designs for you to aspects or helpings connected with arrays.