| Electronic Components Datasheet Search |
|
78K Datasheet(PDF) 74 Page - NEC |
|
|
|||||||||||||||||||||||||||||
78K Datasheet(HTML) 74 Page - NEC |
|
74 / 523 page ![]() CHAPTER 5 OPERATORS AND EXPRESSIONS User’s Manual U15556EJ1V0UM 74 (1) Subscript operators Postfix Operators [ ] Subscript Operator FUNCTION The [ ] subscript operator specifies or refers to a single member of an array object. The array or expression “E1 [E2]” is evaluated as if it were “(*(E1+(E2)))”. In other words, the value of E1 is a pointer to the first member of the array and E2 (if it is an integer) indicates the E2th member of E1 (counting from 0). With a multidimensional array, as many subscript operators as the number of dimensions must be connected. In the following example, x becomes an int type array of 3*5. In other words, x is an array which has three members each consisting of five int type members. int x[3][5] ; A multidimensional array may be specified by connecting subscript operators. Assuming that E is an array of nth dimension (where n ≥ 2) consisting of i*j*...*k, the array can be specified with n number of subscript operators. In this case, E becomes a pointer to an array of (n – 1)th dimension consisting of j*...*k. SYNTAX postfix-expression [subscripted expression] NOTE A postfix expression must have a “.... pointer to object”. The subscripted expression of an array must be specified with integral type data. The result of the expression will become “.....” type. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |