Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Fun with Pointers #2
// pointer example from diagnostics #include <iostream> using namespace std; int main () { int *foo; foo = new int[5]; for (int i=0; i<5; i++) { foo[i] = i; } int x = 3; foo = &x; cout << foo[0]; return 0; }
run
|
edit
|
history
|
help
0
move_string
khcmknhc
Check if a year is leap year or not
ArrayList Example Starter Code 2
GetTypeName
Assignment Operator Example
Merge Sort
Assertion Divide by Zero Example
Расстановка восьми ферзей на шахматной доске так, чтобы ни один не угрожал другому - C++
What's the problem with this?