文件名称:test05
-
所属分类:
- 标签属性:
- 上传时间:2013-04-24
-
文件大小:56.91kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编写程序,定义一个函数,行参为int,在函数里面打印行参的地址;调用此函数,并打印实参的地址,与行参地址进行比较;理解值传递的机制;
编写程序,定义一个函数,行参为int&,在函数里面打印行参的地址;调用此函数,并打印实参的地址,与行参地址进行比较;理解引用传递的机制;
编写程序,定义一个函数,行参为int*,在函数里面打印行参的地址;调用此函数,并打印实参的地址,与行参地址进行比较;理解指针传递的机制;-Programming, define a function, the line parameter is int, address print line parameter inside the function calling this function, and print the address argument line parameter address understand the value of the transmission mechanism programming, define a function, line parameters for int & the print line parameters the address inside the function calling this function, and print the arguments of the address line parameter address comparison understand the mechanism passed by reference programming, the definition of a function, the line parameters for the int* Print the address line parameters inside the function calling this function, and print the address of the argument, to compare the line parameters address understand the mechanism of passing a pointer
编写程序,定义一个函数,行参为int&,在函数里面打印行参的地址;调用此函数,并打印实参的地址,与行参地址进行比较;理解引用传递的机制;
编写程序,定义一个函数,行参为int*,在函数里面打印行参的地址;调用此函数,并打印实参的地址,与行参地址进行比较;理解指针传递的机制;-Programming, define a function, the line parameter is int, address print line parameter inside the function calling this function, and print the address argument line parameter address understand the value of the transmission mechanism programming, define a function, line parameters for int & the print line parameters the address inside the function calling this function, and print the arguments of the address line parameter address comparison understand the mechanism passed by reference programming, the definition of a function, the line parameters for the int* Print the address line parameters inside the function calling this function, and print the address of the argument, to compare the line parameters address understand the mechanism of passing a pointer
(系统自动生成,下载前可以参看下载内容)
下载文件列表
test05.doc
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
