What MACRO can be used to switch off printf statements, rather than removing them all for deployment builds, I just want to switch them off, skip them, ignore them.
Below simple function serves the purpose, I use the same.
int printf(const char *fmt, ...) { return (0) }