CPlusPlusThings/english/basic_content/const/funciton_const/condition1/condition2.cpp
2020-07-18 17:09:29 +08:00

10 lines
130 B
C++

#include<iostream>
using namespace std;
int main(){
const int p = 10;
const void *vp = &p;
void *vp = &p; //error
}