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
uniq ptr
simple in-memory b-tree
wellformed number
Struct memory ordering
Rounding float to nearest 1000 (fixed)
using directives: qualified lookup rules are different from unqualified lookup rules
GetTypeName
test
ternary test c++14
EBO