fork download
  1. #include <iostream>
  2. using namespace std;
  3. const int& const i=1;
  4. int main() {
  5. // your code goes here
  6. return 0;
  7. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:3:18: error: ‘const’ qualifiers cannot be applied to ‘const int&’
 const int& const i=1;
                  ^
stdout
Standard output is empty