fork download
  1. #include <iostream>
  2. using namespace std;
  3. void updateValue(int*p){
  4. *p=610%255;
  5. }
  6. int main() {
  7. char ch='A';
  8. updateValue((int*)&ch);
  9. cout<<ch;
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 5304KB
stdin
Standard input is empty
stdout
d