Skip to content

Instantly share code, notes, and snippets.

@meylady
Last active January 1, 2018 14:37
Show Gist options
  • Save meylady/1222ad7bc2f59508954104c116c249f3 to your computer and use it in GitHub Desktop.
Save meylady/1222ad7bc2f59508954104c116c249f3 to your computer and use it in GitHub Desktop.
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
int arr[100] = { 0, };
for (int i = 1; i <= 10; i++) {
arr[i] = i;
printf("%d\n", &arr[i]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment