标签:
1、返回值为结构体的函数定义
有返回值为结构体的函数如下定义,一时看不明白:
struct complex add(x, y) struct complex x, y; { struct complex z; z.re = x.re + y.re; z.im = x.im + y.im; return z; }
C语言学习问题
原文地址:http://www.cnblogs.com/whyaiw/p/4781359.html