#define f (x, y, z) ((x) & (y)) | ((~ x) & (z)))))))
You can also define functions directly like this.
https://www.xfocus.net/bbs/index.php?act=st&f=2&t=26063&f=2