, ANSI C89. int.
If you want to compile as C89, but you are warned about using an implicit int, you must pass either -Wimplicit-intas an argument to the command line (or -Wall, which allows this warning along with a number of others).
If you want to compile as C99, you must pass -std=c99and -pedantic-errorsthat will cause a compiler error if you use an implicit int.
source
share