meaning of extern in c code example
Example: when to use extern "C"
extern "C"{
int printf(const char *format,...);
}
main() {
printf("Hello World");
}
extern "C"{
int printf(const char *format,...);
}
main() {
printf("Hello World");
}