- 1、本文档共4页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
第21卷第 1期 电 脑 与 信 息 技 术 V01.2lNo.1
2013年 2月 Comouterand Information Technoloav Feb.2013
文章编号:1005—1228(2013)叭一0066—04
C语言函数参数传递过程教学方法研究
黄 炜 ,张 伟
(1.长沙航空职业技术学院计算机 系,长沙 410014;2中南大学信息科学与工程学院,长沙 410075)
摘 要:函数及其调用过程中的参数传递规律一直是c语言教学中的重点和难点,针对很多教材中给出的实参向形参传
递过程的值传递及地址传递规律 ,从分析变量、常量等基本概念的本质出发,阐释了栈结构在函数参数传递过程中的作
用,证实了“值传递”是函数唯一的参数传递方式,而不存在所谓的 “地址传递”方式的结论,并通过指针、数组、结构体类型
实参到形参的传递过程,进一步说明了c函数的参数传递过程受到参数数据类型制约的特点。
关键词:c语言,函数参数传递,教学方法
中图分类号:G433 文献标识码:A
TeachingMethodResearchofFunctionParametersTransferProcess
ofCProgrammingLanguage
HUNG W ei.ZHANG W e
(1.DepartmentofComputerandInformationEngineering,ChangshaAeronauticalVocationalandTechnicalCollege,Changsha410014,China;
2.CollegeofInfomrationScienceandEngineering,CentralSouthUnive~ity,Changsha410075,China)
Abstract:Thefunctionandparameterstransferrulesinthecalledprocedureof~ncdon isalwaysthekeyanddifficultpoints
ofC programminglanguageteachingprocess.Accordingto thevalueandaddresstransferlaw intheprocesswhichtranslated
therealparametersintotheformalparameters in somegiventextbooks,theroleofstack datastructurewasillustratedinthe
functionparameterstransferprocessbasesOrlthenautrenaalysisofvariablesandconstants,andconfirmedtheconclusionwhich
thevaluetransferurleistheonlyway ofC functionparameters ,butdoesnotexisttheSO—calladdresstransferrule.The
featuresconstrainedbydatatypeofC ufnctionparameters rtansferprocessisfurtherillustratedthroughtheparameters transfer
processwhichtranslatedtherealparameters ownedapointer,array,sturcturedataytpetotheofmr alparameters.
Keywords:Cprorgamminglanugage;transferprocessoffunctionparameters;teachingmethod
《c语言程序设计》是计算机及信息类相关专业的
您可能关注的文档
- BiFeO3薄膜的溶胶凝胶制备及其光学性质的研讨.pdf
- 小腹茧蜂亚科膜翅目茧蜂科系统发育研究进展研究.pdf
- 小高层剪力墙结构设计研究.pdf
- C市烟草公司宽带薪酬体系设计研究.pdf
- 小高层住宅结构体系比较研究.pdf
- 小规格弹扁钢在棒材厂的轧制实践研究.pdf
- 小规格螺纹钢筋控冷工艺的试验研讨.pdf
- BiFeO3功能薄膜的液相自组装方法制备研究.pdf
- 小规模分散经营情况下的农产品质量信号问题研究.pdf
- 小规模液化天然气生产的前景和投资机会研究.pdf
- 2024年中国钽材市场调查研究报告.docx
- 2024年中国不锈钢清洗车市场调查研究报告.docx
- 2024年中国分类垃圾箱市场调查研究报告.docx
- 2024年中国水气电磁阀市场调查研究报告.docx
- 2024年中国绿藻片市场调查研究报告.docx
- 2010-2023历年初中毕业升学考试(青海西宁卷)数学(带解析).docx
- 2010-2023历年福建厦门高一下学期质量检测地理卷.docx
- 2010-2023历年初中数学单元提优测试卷公式法(带解析).docx
- 2010-2023历年初中毕业升学考试(山东德州卷)化学(带解析).docx
- 2010-2023历年初中毕业升学考试(四川省泸州卷)化学(带解析).docx
最近下载
- My Life in China and America [容闳自传:我在中国和美国的生活].pdf
- 常熟银行研究报告:回归小微初心,乘风乡村振兴.doc VIP
- 浙商证券-宠物行业从乖宝宠物看宠物赛道:陪伴需求催化宠物新蓝海,食品赛道频现龙头.pdf
- ctgd-sop v5风口安装作业指导书.pdf VIP
- 消化道出血有关试题附有答案.docx VIP
- 湘教版美术《家乡的古建筑》说课稿.doc
- 上海地区不同垂直骨面型成人临床冠中心高度的比较研究.pdf VIP
- 2023年 AMC 10B 数学竞赛(原卷+答案).doc VIP
- 世界贸易组织.ppt VIP
- 2023年 AMC 10A 数学竞赛(原卷+答案).doc
文档评论(0)