There is such code:
#include <iostream>
extern void fun();
int main(){
fun();
return 0;
}
void fun(){ std::cout << "Hello" << std::endl; }
Is there some difference between declarations:
extern void fun();
void fun();
? Code above behaves the same with extern and without extern keyword.