warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default]

You need to add #include <stdio.h> to the top of your file.

Leave a Comment