Created
October 4, 2015 11:31
-
-
Save ogroleg/8c1f4ac7eab7e74f5df6 to your computer and use it in GitHub Desktop.
This file contains 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> | |
using namespace std; | |
int main(){ | |
int* q=new int[5]; | |
int i=0; | |
i[q]=2; | |
cout<<q[0]; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment