Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main()
- {
- class ok
- {
- public:
- int num;
- void yolo(int _num)
- {
- num = _num;
- }
- };
- ((ok *)0x0)->yolo(1337); // Crashes, obv
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement