Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. void restart() {
  4. void (*fptr)();
  5. fptr = (void (*)())0;
  6. fptr();
  7. }
  8.  
  9. void reset() {
  10. goto *(0x00);
  11. }
  12.  
  13. int main() {
  14. //restart();
  15. reset();
  16. printf("hello world!");
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement