int main()
{
const int* i = int(); // 1
int const* j = int(); //2
int* const k = int(); //3
int* l(); //4
++i; //5
++j; //6
++k; //7
++*k; //8
++l; //9
}
Added new question https://codegalaxy.io/courses/cplusplus/questions/335c0852522911e98647d663bd873d93/c-plus-plus-will-the-following-code-compile
2019 Mar 29, 1:59:36 PM
@Tensor but for C++14 standard, you are completely right - https://ideone.com/14sDSB . Changed question, thanks)
2019 Mar 29, 10:42:09 AM
Войдите чтобы поставить Нравится
Войдите чтобы прокомментировать