I am new to the programming world, and this is my first post, so excuse my verbosity.
I have started learning C recently. I found something very interesting in C today and was wondering if someone can guide me to correct direction or help me to understand that why below code works fine. I have done few search but unable to find right reason or rationale that why this is happening:
For example: I have written a function with any number of parameter in the argument call to my function call test_hello_world
which don't even have an argument my program throws no error apart form the "implicit declaration of function warning"
Sample code
—— Code—-
#include<stdio.h>
int main()
{
test_hello_world(1, 2, 3, 4, 4, 5, 5);
return 0;
}
int test_hello_world(){
printf("Hello World! debug purpose \n");
return 0;
}