mirror of
https://github.com/Light-City/CPlusPlusThings.git
synced 2026-05-09 15:03:03 +08:00
update dir
This commit is contained in:
8
const/funciton_const/condition1/condition1.cpp
Normal file
8
const/funciton_const/condition1/condition1.cpp
Normal file
@@ -0,0 +1,8 @@
|
||||
#include<iostream>
|
||||
using namespace std;
|
||||
|
||||
|
||||
int main(){
|
||||
const int *ptr;
|
||||
*ptr=10; //error
|
||||
}
|
||||
Reference in New Issue
Block a user