Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Pointer array
//clang 3.8.0 #include <iostream> using namespace std; int main() { int numb[5]; int *p; p=numb; *p=5; p=numb; p++; *p=10; p=&numb[2]; *p=15; p=numb+3; *p=20; p=numb; *(p+4)=25; for(int i=0;i<5;++i){ cout<<numb[i]<<","; } }
run
|
edit
|
history
|
help
0
hw1 Os
Copy uint64 data into uint32 with padding
Forgetting to check end
hello world 3
HerbSutter-Virtuality
Recursive Call Example Sum
bubble sort
Dash-D compiler flag example
Te
Check if a year is leap year or not