Electronic Components Datasheet Search
  English  ▼

X  

78IV Datasheet(PDF) 75 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) 75 Page - NEC

Back Button 78IV Datasheet HTML 71Page - NEC 78IV Datasheet HTML 72Page - NEC 78IV Datasheet HTML 73Page - NEC 78IV Datasheet HTML 74Page - NEC 78IV Datasheet HTML 75Page - NEC 78IV Datasheet HTML 76Page - NEC 78IV Datasheet HTML 77Page - NEC 78IV Datasheet HTML 78Page - NEC 78IV Datasheet HTML 79Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 75 / 523 page
background image
CHAPTER 5 OPERATORS AND EXPRESSIONS
User’s Manual U15556EJ1V0UM
75
(2) Function call operators
Postfix Operators
( ) Function Call
FUNCTION
The postfix ( ) operator calls a function. The function to be called is specified with a postfix expression and
argument(s) to be passed to the function are indicated in parentheses ( ).
The description related to function includes the function prototype declaration, the function definition (the body of
a function), and the function call. The function prototype declaration specifies the value a function returns, the
type of argument, and the storage class.
If the function prototype declaration is not referred to in a function call, each argument is extended with a general
integer. This is called “default actual argument extension”. Performing a function prototype declaration avoids
default actual argument extension and detects errors in of the type and number of arguments and the type of
return value.
Calling a function that has neither a storage class specification nor a data type specification such as “identifier (
);” is interpreted as calling a function that has an external object and returns an int type that has no information
on arguments. In other words, the following declaration will be made implicitly.
extern int
identifier ( ) ;
SYNTAX
postfix-expression (argument-expression list);
[Example of function call]
int
func (char, int);
/* function prototype declaration */
char a ;
int b, ret;
void main(void){
ret = func(a, b);
/* function call */
}
int func(char c, int i) {
/* function definition */
:
return I;
}
NOTE
A function that returns an object other than array types can be called with this operator. The postfix expression
must be of a pointer type to this function.
In a function call including a prototype, the type of argument must be of a type that can be assigned to the
corresponding parameter(s). The number of arguments must also be in agreement.



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