Electronic Components Datasheet Search
  English  ▼

X  

78IV Datasheet(PDF) 70 Page - NEC

Part # 78IV
Description  CC78K4 Ver.2.30 or Later, C Compiler Language
PDF  523 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

78IV Datasheet(HTML) 70 Page - NEC

Back Button 78IV Datasheet HTML 66Page - NEC 78IV Datasheet HTML 67Page - NEC 78IV Datasheet HTML 68Page - NEC 78IV Datasheet HTML 69Page - NEC 78IV Datasheet HTML 70Page - NEC 78IV Datasheet HTML 71Page - NEC 78IV Datasheet HTML 72Page - NEC 78IV Datasheet HTML 73Page - NEC 78IV Datasheet HTML 74Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 70 / 523 page
background image
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;
}
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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