P
prasoonthegreat
In the following code....
int putchar(int c);
static void printf(char * str)
{
putchar('H');
putchar('e');
putchar('l');
putchar('l');
putchar('o');
putchar('\n');
}
int main(void)
{
printf("Hi");
return 0;
}
Does removing the declaration int putchar(int c); from the program
invoke Undefined Behaviour????
If yes, why????
int putchar(int c);
static void printf(char * str)
{
putchar('H');
putchar('e');
putchar('l');
putchar('l');
putchar('o');
putchar('\n');
}
int main(void)
{
printf("Hi");
return 0;
}
Does removing the declaration int putchar(int c); from the program
invoke Undefined Behaviour????
If yes, why????