风格

来源:互联网 发布:重庆淘宝运营 编辑:程序博客网 时间:2024/04/27 23:43
 

#include <stdio.h>
#ifndef CCM_Min
#define CCM_Min(a,b)  (((a) < (b)) ? (a) : (b))
#endif /* CCM_Min */
#define square_exam(a) ((a)*(a))
typedef unsigned VOS_UINT32;

int g_exam;
VOS_UINT32 example(int para)
{
 VOS_UINT32 temp;

 g_exam = para;
 temp = square_exam(g_exam);

 return(temp);
}
void main()
{
 VOS_UINT32 dwNumber = 3 ;
 VOS_UINT32 ret;
 ret = example(dwNumber);
 printf("\r\n%d\r\n",ret);
}

原创粉丝点击