| Electronic Components Datasheet Search |
|
78IV Datasheet(PDF) 70 Page - NEC |
|
|
|||||||||||||||||||||||||||||
78IV Datasheet(HTML) 70 Page - NEC |
|
70 / 523 page ![]() User’s Manual U15556EJ1V0UM 70 CHAPTER 5 OPERATORS AND EXPRESSIONS This chapter describes the operators and expressions to be used in the C language. C has an abundance of operators for arithmetic, logical, and other operations. This rich set of operators also includes those for bit and address operations. An expression is a string or combination of an operator and one or more operands. The operator defines the action to be performed on the operand(s) such as computation of a value, instructions on an object or function, generation of side effects, or a combination of these. Examples of operators are given below. #define TRUE 1 #define FALSE 0 #define SIZE 200 void lprintf(char *, int); void putchar(char c); char mark [SIZE+1]; + ................................................................... Arithmetic operator void main(void) { int i, prime, k, count; count = 0; =.............................................................. Assignment operator for (i = 0 ; i <= SIZE ; i++) ++ ............................................. Postfix operator mark [i] = TRUE; <= ............................................. Relational operator for (i = 0 ; i <= SIZE ; i++) { if (mark [i]) { prime = i + i + 3; + ............................................... Arithmetic operator lprintf (“%d” , prime); count++; ++ ............................................. Postfix operator if ((count%8) == 0) ==............................. Relational operator putchar ('\n'); for (k = i + prime ; k<=SIZE; k += prime) += ...... Assignment operator mark [k] = FALSE; } } |
|
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 |