SHARE
TWEET

test

a guest Nov 21st, 2019 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. void f2() {
  5.     int f2int;
  6.     int *ptr = &f2int;
  7.  
  8.     char *s = "hahaha";
  9.  
  10.     for (size_t i = 0; i < 20; i++)
  11.     {
  12.         printf("%d\n", *(s + i));
  13.     }
  14.    
  15. }
  16.  
  17. void f1() {
  18.     int f1int = 100;
  19.     f2();
  20. }
  21.  
  22. int main() {
  23.     f1();
  24.     return 0;
  25. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top