#include<iostream>
// try to distinguish the difference between the following setences
extern"C" int x; //declaration
extern"C" {int y;} //definition
int main()
{
int x;
std::cout<<x<<y;
return 0 ;
}
// try to distinguish the difference between the following setences
extern"C" int x; //declaration
extern"C" {int y;} //definition
int main()
{
int x;
std::cout<<x<<y;
return 0 ;
}