mirror of
https://github.com/Light-City/CPlusPlusThings.git
synced 2026-04-02 18:21:05 +08:00
update
This commit is contained in:
10
basic_content/const/funciton_const/condition3/condition1.cpp
Normal file
10
basic_content/const/funciton_const/condition3/condition1.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include<iostream>
|
||||
using namespace std;
|
||||
|
||||
int main(){
|
||||
|
||||
const int p = 3;
|
||||
const int * const ptr = &p;
|
||||
cout<<*ptr<<endl;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user