9 lines
159 B
C++
9 lines
159 B
C++
#include<iostream>
|
|
using namespace std;
|
|
int main(){
|
|
|
|
const int num=10;
|
|
const int * const ptr=# //error! const int* -> int*
|
|
cout<<*ptr<<endl;
|
|
}
|