当前位置:网站首页>Formal parameters vs actual parameters
Formal parameters vs actual parameters
2022-06-26 13:53:00 【Tom looks at programming】
1 Formal parameters : Is the parameter named when defining a function or procedure . Generally speaking, it is a sign .2 The actual parameter : It's during execution , When calling a function or procedure , Arguments passed to a function or procedure . Generally speaking, it is the actual value .3 Parameter , Is a variable , It changes with different users . for instance , I learned in middle school sin(x) function , there x It's a formal parameter , When you need to ask 1 When the sine value of , You will use it. sin(1), there 1 Is the actual parameter .4 The relationship between formal and actual parameters : The two are combined at the time of call , Usually, the argument will pass the value to the formal parameter , After the formal parameter is removed, the function procedure operation is performed , Some values may then be returned to the caller via parameter or function symbols
边栏推荐
- Learn how to develop owl components by hand (7): practical use of owl projects
- 【MySQL从入门到精通】【高级篇】(二)MySQL目录结构与表在文件系统中的表示
- Design of simple digital circuit traffic light
- Insect operator overloaded a fun
- 8. Ribbon load balancing service call
- Range of types
- Tips for using nexys A7 development board resources
- Taishan Office Technology Lecture: four cases of using bold font
- LAMP编译安装
- Design of PHP asymmetric encryption algorithm (RSA) encryption mechanism
猜你喜欢

输入文本自动生成图像,太好玩了!

Basic type of typescript

ICML 2022 | limo: a new method for rapid generation of targeted molecules

Echart stack histogram: add white spacing effect setting between color blocks

Embedded virlog code running process

Range of types

Select tag - uses the default text as a placeholder prompt but is not considered a valid value

33、使用RGBD相机进行目标检测和深度信息输出

12 SQL optimization schemes summarized by old drivers (very practical)

2021-10-18 character array
随机推荐
MySQL explanation (II)
Thinking caused by the error < note: candidate expectations 1 argument, 0 provided >
Traverse the specified directory to obtain the file name with the specified suffix (such as txt and INI) under the current directory
李航老师新作《机器学习方法》上市了!附购买链接
ES6 module
ES基於Snapshot(快照)的數據備份和還原
7-1 range of numbers
【系统分析师之路】第十五章 复盘数据库系统(数据库案例分析)
【Proteus仿真】Arduino UNO按键启停 + PWM 调速控制直流电机转速
12 SQL optimization schemes summarized by old drivers (very practical)
网络远程访问的方式使用树莓派
ICML 2022 | LIMO: 一种快速生成靶向分子的新方法
Wechat applet magic bug - choose to replace the token instead of clearing the token, wx Getstoragesync will take the old token value instead of the new token value
Use performance to see what the browser is doing
[proteus simulation] Arduino uno key start / stop + PWM speed control DC motor speed
【Spark】. Explanation of several icons of scala file in idea
NVM installation tutorial
Wechat applet - bind and prevent event bubble catch
Generate JDE dot train
Included angle of 3D vector