当前位置:网站首页>The difference between parameter and argument in C language
The difference between parameter and argument in C language
2022-06-12 14:20:00 【silence_ heart】
parameter and argument The difference between , Make the following simple explanation .
1.parameter Is the parameter in the function definition , and argument Refers to the actual parameters of a function call .
2. It is briefly described as :parameter= Shape parameter (formal parameter), argument= Actual parameters (actual parameter).
3. In less strict circumstances , The two can be mixed , It's usually used argument, and parameter It's less used .
While defining method, variables passed in the method are called parameters.
When defining methods , Variables passed to methods are called parameters .
While using those methods, values passed to those variables are called arguments.
When a method is called , The value passed to a variable is called an argument .( Sometimes argument Translated into “ Arguments “)
Reference resources : Baidu Encyclopedia
边栏推荐
- Lua callinfo structure, stkid structure resolution
- Communication flow analysis
- Display logs in the database through loganalyzer
- Fourteen week assignment
- 单总线温度传感器18B20数据上云(阿里云)
- Leetcode 2185. 统计包含给定前缀的字符串
- En langage C, la fonction principale appelle une autre fonction et assemble le Code pour comprendre
- Lua common built-in functions
- Alicloud development board vscode development environment setup
- Player actual combat 14 display YUV
猜你喜欢

Leetcode 2176. Count equal and divisible pairs in an array

拆改广告机---业余解压

Redis core configuration and advanced data types

Conversion of player's actual 10 pixel format and size

Player actual combat 22 to solve the problems of flower screen and Caton

G++ error in compiling Win32 program: undefined reference to '__ imp_ GetStockObject‘
![[MySQL advanced] index classification and index optimization scheme (V)](/img/8b/2284783d8b81ba2e8fa45a239107ba.png)
[MySQL advanced] index classification and index optimization scheme (V)

如果要打造品牌知名度,可以选择什么出价策略?

动态搜索广告智能查找匹配关键字

Mold and remainder
随机推荐
Lua callinfo structure, stkid structure resolution
公司运营中更注重转化的出价策略,如何实现? —Google sem
280 weeks /2171 Take out the least number of magic beans
Nesting of C language annotations
G++ error in compiling Win32 program: undefined reference to '__ imp_ GetStockObject‘
工具笔记 —— 常用自定义工具类(正则,随机数等)
Axi4 increase burst / wrap burst/ fix burst and narrow transfer
Codeforces Round #798 (Div. 2)(A~D)
3. Process concealment under the ring ----- continuous concealment and new opening prevention
How to package QT program learning records with inno setup
Programmer interview golden classic good question / interview question 01.05 Edit once
Leetcode 2185. Counts the string containing the given prefix
动态搜索广告智能查找匹配关键字
Printing colored messages on the console with printf
Redis data deletion policy in 2022
For cross-border e-commerce, the bidding strategy focusing more on revenue - Google SEM
Use of pytorch (to be supplemented)
Player practice 26 adding slider and window maximization
CSDN博客积分规则
Create a slice slice pit using the make method