Fish Touching🐟🎣

C Macros

Apr 3, 2023

From K&R

Nonetheless, macros are valuable.One practical example comes from <stdio.h>, in which getchar and putchar are often defined as macros to avoid the e run-time overhead of a function call per character processed.The functions in <ctype.h> are also usually implemented as macros.