fork(6) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. const int k1 = 10;
  6. constexpr int k2 = 2*k1;
  7. cout << k2 << '\n';
  8. return 0;
  9. }
Success #stdin #stdout 0s 3468KB
stdin
Standard input is empty
stdout
20