mirror of
https://github.com/Light-City/CPlusPlusThings.git
synced 2026-02-14 07:55:50 +08:00
update
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#include<iostream>
|
||||
using namespace std;
|
||||
|
||||
|
||||
int main(){
|
||||
const int p = 10;
|
||||
const void *vp = &p;
|
||||
void *vp = &p; //error
|
||||
}
|
||||
Reference in New Issue
Block a user