#include <iostream> using namespace std; constexpr int someConstant = 3; constexpr int *someConstantPointerToConstant = &someConstant; int main() { // your code goes here return 0; }
Standard input is empty
prog.cpp:5:48: error: invalid conversion from ‘const int*’ to ‘int*’ [-fpermissive] constexpr int *someConstantPointerToConstant = &someConstant; ^~~~~~~~~~~~~
Standard output is empty