按值传递参数:参数的值会被复制一份,在被调用函数内对参数做的赋值操作对调用函数来说是不可见的.
按引用传递,在C语言中一般以指针参数体现.对指针指向区域所作的修改对调用函数是可见的.
Explain the difference between "call by value" and "call by reference" in a programming language.How do these apply to t
Explain the difference between "call by value" and "call by reference" in a programming language.How do these apply to the C language?
英语人气:795 ℃时间:2019-12-20 16:59:36
优质解答
我来回答
类似推荐
- Explain the difference between a procedure call and a procedure declaration,and give an example.
- 程序设计 call by value ,call by address ,call by name
- it tells the difference between making a call in chinese and one in english?
- In about 200 words, explain the difference between language translation and language localization.
- Explain the difference in meaning between Sentences a) and b)
猜你喜欢
- 1一个鸡蛋5角钱,一个鸭蛋8角钱.李阿姨买了20个蛋,共花去11元5角,问李阿姨卖鸭蛋、鸡蛋各几个?(算试)
- 2薄板焊接时很容易产生A弯曲变形B角变形C波浪变形D扭曲变形
- 3有关描写春天的词语
- 41体积某烃的蒸汽完全燃烧生成CO2比H2O(g)少1体积(同温同压下)0.1mol该烃完全燃烧的产物被碱石灰吸收后增重39g,(1)求该烃的分子式 (2)已知该烃的一氯代物有三种,是写出该烃的结构简式且命名
- 5把一张长12.56米、宽3米的长方形苇席,围成以长为底面周长的圆柱形粮囤(接头消耗不计),这个围成的粮囤的容积是多少立方米?
- 6解不等式:|x²-2x|〈1/2x
- 7用适当的单位 一瓶药水重60( ) 一瓶墨水的体积约是60( )
- 8工厂生产的乒乓球是有规定的,不过在实际生产中有的可能轻一点,有的可能重一点,比标准还重0.02克记作
- 9已知圆C:x2+y2-4x-2y+1=0,直线l:3x-4y+k=0圆上存在两点到直线l的距离为1,则k的取
- 10在圆O中,设半径为R,弦AB、CD互相垂直,连接AD、BC.证明:AD平方+BC平方...