Guest User

Untitled

a guest
Mar 21st, 2019
75
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2.  
  3. char * mkstr() {
  4. return "some data";
  5. }
  6.  
  7. char * mkstr1() {
  8. return "data some";
  9. }
  10.  
  11. int main() {
  12. char arr[] = "asdf";
  13. //arr = mkstr();
  14.  
  15. char * str = mkstr();
  16. mkstr1();
  17.  
  18. printf("%s %s %lu", str, arr, sizeof arr);
  19. }
RAW Paste Data