#ifdef __cplusplus extern "C" { #endif /* Declarations of this file */ #ifdef __cplusplus } #endif
extern "C"{ int printf(const char *format,...); } main() { printf("Hello World"); }