Whenever I write the the following code in Pelles C it runs fine without including the stdio.h header file!! I donot know why??
I'm running Pelles C!
Forgive me for using deprecated Trigraphs and digraphs to use in this code!
Code:
%:include <iso646.h>
#define C (char)
int main(void)
??<
int x;
char c=C'<:';
printf("Hello World");
printf("\nCan you please enter a number%:");
scanf("%d",&x);
//Will the next text be executed??????????????
if(67 + x <100)
<%
printf("True\n");
printf("\n%c",64);
printf("\n%c",c);
%>
??>
All the compiler really generates is some warning for not including the stdio.h header file
like this:Undeclared function 'printf' (did you mean 'main'?); assuming 'extern' returning 'int'.
Undeclared function 'scanf' (did you mean 'printf'?); assuming 'extern' returning 'int'.
So my question is that , is printf() and scanf() compiled into a library file which is automatically called whenever a program is compiled in Pelles C?
For which the code still works , if so what is the name of the library file