Created
September 21, 2016 15:07
-
-
Save AndyNovo/2ecef4dd1f629b2eb2f243b7ffa52cef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstdlib> | |
using namespace std; | |
int main(){ | |
int* x = (int*) malloc(32); | |
x[0] = 23; | |
cout << x[0] << endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment