mirror of
https://github.com/Estom/notes.git
synced 2026-02-03 02:23:31 +08:00
12 lines
275 B
C++
12 lines
275 B
C++
#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;
|
|
} |