Skip to content

Instantly share code, notes, and snippets.

@mcihad
Created November 2, 2018 17:26
Show Gist options
  • Save mcihad/17ac0840cb884eb018300b2389240dbd to your computer and use it in GitHub Desktop.
Save mcihad/17ac0840cb884eb018300b2389240dbd to your computer and use it in GitHub Desktop.
Pointer denemesi
#include <iostream>
using namespace std;
int main() {
int* a;
int* b;
int c=12;
a=&c;
*b=*a;
c=11;
cout << *a<< endl;
//11
cout << *b << endl;
//12
cout << *&c <<endl;
//11
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment