pastebin

Paste Search Dynamic
Recent pastes
reinterpret cast
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.         int c=256;
  6.         char *a=reinterpret_cast<char*>(&c);
  7.         *a=0xff;
  8.         cout << c;
  9.         return 0;
  10. }
Parsed in 0.001 seconds