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