#include <iostream> extern int i; int j = i;int i = 333; int main(){ std::cout << "j: " << j << "\n";}
Standard input is empty
j: 333
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!