#include <iostream>using namespace std; int main() { const int k1 = 10; constexpr int k2 = 2*k1; cout << k2 << '\n'; return 0;}
Standard input is empty
20
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!