I came across this weird C++ program.
#include using namespace std; int main() { int a = ({int x; cin >> x; x;}); cout << a;
It's a GCC extension. Compile your code with the -pedantic flag if you want to get rid of stuff like this (and you really do want to).
-pedantic