Warning: implicit declaration of function — why does my code work anyway?
问题 I have gone through the following threads: warning: implicit declaration of function Implicit Declaration of Function in C UNIX Possibly my issue is linked. But while they offer the solution that the function prototype should be declared before the function is used, I wanted to explore what happens when the function name is not matching. In my test, it still works fine. Main C file #include "node.h" int main(){ nd *head=NULL; nd *tail=NULL; create_node(&head, &tail, 10); create_node(&head,