Linkage Specification

C++ allows a function to be linked as a different type of language function. The general form consists of:
extern
"language" FunctionPrototype
The linkage specification must be global like this:
extern "PASCAL" int
MyFunct(void); int MyFunct(void){return 1;} void main() {
 int a=MyFunct();
}
Multiple functions may be specifically linked. The general form is:
extern "language" {
  FunctionPrototypes
}