当前位置:网站首页>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
边栏推荐
- NotePad 常用设置
- Ppt cannot be opened, always prompt how to fix it
- Server concurrency - note 1
- 肝了一个月的原创小袁个人博客项目开源啦(博客基本功能都有,还包含后台管理)
- Pay attention to click and pursue more users to enter the website. What bidding strategy can you choose?
- What is the default gateway
- Leetcode 2176. Count equal and divisible pairs in an array
- How to brush leetcode
- 3. Hidden processes under the ring
- The original Xiaoyuan personal blog project that has been around for a month is open source (the blog has basic functions, including background management)
猜你喜欢

Démontage et modification de la machine publicitaire - décompression amateur

Mold and remainder

Player practice 18 xresample

公司运营中更注重转化的出价策略,如何实现? —Google sem

Dynamic search advertising intelligent search for matching keywords

Leetcode 2185. Counts the string containing the given prefix

WinDbg preview debug analysis createtoolhelp32snapshot

How to package QT program learning records with inno setup

Alibaba cloud development board haas510 sends the serial port data to the Internet of things platform

Communication flow analysis
随机推荐
Compile and install lamp architecture of WordPress and discuz for multi virtual hosts based on fastcgi mode
chapter19 Allocation
Use of pytorch (to be supplemented)
Redis核心配置和高级数据类型
Server concurrency - note 1
Leetcode 2176. 统计数组中相等且可以被整除的数对
Alibaba Cloud Development Board haas510 submission Device Properties
如果要打造品牌知名度,可以选择什么出价策略?
Player actual combat 25 unpacking module add close
Dismantle and modify the advertising machine - Amateur decompression
Details of bypassing safeseh mechanism by using modules that do not enable safeseh
969. pancake sorting
[video lesson] a full set of tutorials on the design and production of Android studio Internet of things app -- all mastered during the National Day
Tcp/ip network communication knowledge record
Detailed explanation of C language memset
Introduction to functions (inline functions and function overloading)
注重点击,追求更多用户进入网站,可以选择什么出价策略?
高考回憶錄
In C language, the main function calls another function, which is understood by assembly code
Dynamic search advertising intelligent search for matching keywords