mirror of
https://github.com/Light-City/CPlusPlusThings.git
synced 2026-02-04 02:54:42 +08:00
9 lines
97 B
C++
9 lines
97 B
C++
#include<iostream>
|
|
using namespace std;
|
|
|
|
|
|
int main(){
|
|
const int *ptr;
|
|
*ptr=10; //error
|
|
}
|