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