C语言define用法

一.常量定义

 

二.函数定义

#define max(x,y) (x)>(y)?(x):(y);

posted @ 2018-09-17 17:08  san3er  阅读(109)  评论(0编辑  收藏  举报