首页 | 本学科首页   官方微博 | 高级检索  
     检索      

返回指针与引用的函数
引用本文:钟治初.返回指针与引用的函数[J].河北职业技术学院学报,2009(2).
作者姓名:钟治初
作者单位:嘉应学院;
摘    要:在C/C++中,函数是编程的基本单位。函数的返回值可以是任何合法的数据类型,但是,当函数的返回值是指针或引用类型时,有其特殊性。主要讨论返回值是指针或引用的函数的几种情形。

关 键 词:程序设计  函数  指针  引用  

Function Which Returns a Pointer or a Reference
ZHONG Zhi-chu.Function Which Returns a Pointer or a Reference[J].Journal of Hebei Polytechnic,2009(2).
Authors:ZHONG Zhi-chu
Abstract:In C/C++,the basic unit of programing is to write functions.The value which return from a function may be a legitimate datatype that have been defined.Function which returns a pointer or a reference is special.In this paper,several cases of these special functions have been discussed.
Keywords:programmin  function  pointer  reference  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号