Hopefully this is a very simple question. Following is the C pgm (test.c) I have.
#include
//#include
int main (int argc,
C allows you to call a function without having a declaration for that function.
The function will be assumed to return an int
and arguments will be passed using default promotions. If those don't match what the function actually expects, you'll get undefined behavior.
Compilers will often warn for this case, but not always (and that will also depend on compiler configuration).