Advertisement
Guest User

Untitled

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