fork download
  1. /* file structaddr.c */
  2. #include <stdio.h>
  3. #define MSIZE 10
  4.  
  5. struct simple
  6. {
  7. char c_str[MSIZE];
  8. };
  9. struct simple xprint(void)
  10. {
  11. struct simple ret = { "Morning !" };
  12. return ret;
  13. }
  14. int main(void)
  15. {
  16. printf("Good %s\n", xprint().c_str);
  17. return 0;
  18. }
Runtime error #stdin #stdout 0s 1832KB
stdin
Standard input is empty
stdout
Standard output is empty