Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.23 KB | None | 0 0
  1. void function(int a, int b, int c) {
  2.    char buffer1[5];
  3.    char buffer2[10];
  4.    int *ret;
  5.  
  6.    ret = buffer1 + 12;
  7.    (*ret) += 8;
  8. }
  9.  
  10. void main() {
  11.   int x;
  12.  
  13.   x = 0;
  14.   function(1,2,3);
  15.   x = 1;
  16.   printf("%d\n",x);
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement