Created
September 13, 2022 09:50
-
-
Save Caesar-Victory/6cd6142096fe7c7f0d26692974da2ee6 to your computer and use it in GitHub Desktop.
#C
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 宏定义,相当于匿名函数,因此需要括号包裹,但三元运算符后面的部分,相当于返回值,因此不需要括号包裹 | |
#define MAX(a, b) ((a) > (b) ? a : b) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment