Hello, guys! I need to call a function that defined in other file.
Function void foo(void) somewhere in other .c files. I wrote:
extern void foo(void); //declaration
Then I delete ‘extern’ keyword to make a function header.
void foo(void); //it works!
Then what difference between
extern function header, and function header itself. And does it make sense to write: double atof(char* s); somewhere in function?
// function.c
#include<stdio.h>
void show(){
printf("hello");
}
Saurabh
Msd
%Nikita
Suraj
מנחם
Pavel
CALVIN
Michel
Dima
José Juan
olli
\Device\NUL
Parra