mirror of
https://github.com/Estom/notes.git
synced 2026-02-09 21:36:58 +08:00
日程
This commit is contained in:
12
code_segment/a.cpp
Normal file
12
code_segment/a.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#include<iostream>
|
||||
using namespace std;
|
||||
int main(){
|
||||
// int a=1;
|
||||
// int b= 255;
|
||||
// int c = (a<<(sizeof(double)))|(b>>sizeof(int));
|
||||
// cout<<c<<endl;
|
||||
int arr[5]={5,6,7,8,9};
|
||||
int *b = (int *)(&arr+1);
|
||||
cout<<*(arr+1)<<*(b-1)<<endl;#i22
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user