Advertisement
hamaXD

return string !!!NOT complete

Oct 20th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.26 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<math.h>
  3. const char * myFunction();
  4. main()
  5. {
  6.     char a[2];
  7.    
  8.    
  9. }
  10. //void int sdgf()
  11. const char * myFunction()
  12. {
  13.     char b[]="OK";
  14.     return "b[]";
  15. }
  16. //http://stackoverflow.com/questions/1496313/returning-c-string-from-a-function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement