fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. char a[] ={1,2,3,4,5};
  6. cout<<*((short*)a);
  7. return 0;
  8. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
513