mirror of
https://github.com/Light-City/CPlusPlusThings.git
synced 2026-02-03 18:43:52 +08:00
10 lines
130 B
C++
10 lines
130 B
C++
#include<iostream>
|
|
using namespace std;
|
|
|
|
|
|
int main(){
|
|
const int p = 10;
|
|
const void *vp = &p;
|
|
void *vp = &p; //error
|
|
}
|