注:该例中,请着重关注“问题拓展”部分。这里,数组名 作函数形参时,形参实际上是一个指针变量。
Contents
- 一、Review
- 二、New problem:Sharing sweets(分糖果)
-
- 2.1 Description of the problem
- 2.2 Analysis of the problem
- 2.3 Algorithm design
- 2.4 Defining the framework of the process(确定程序框架)
- 2.5 Full code and output
- 2.6 Question expansion(问题拓展)。值得学习!~
一、Review
最后
以上就是如意豌豆最近收集整理的关于13【C语言 & 趣味算法】分糖果 问题。(数组名作为函数形参,亦即:形参数组名作 指针变量)一、Review的全部内容,更多相关13【C语言内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复