C语言结构体及函数传递数组参数示例

2015-07-16 12:03:56 · 作者: · 浏览: 59

struct.png

注:makeSphere()函数返回Sphere结构体,main函数中,调用makeSphere()函数,传递的第一个参数为数组,传递的数组作为指针。

?