fork(1) download
  1. #include <stdio.h>
  2.  
  3. #define SIZE(object) sizeof(object)/sizeof(object[0])
  4.  
  5. void
  6. ololo(char *s)
  7. {
  8. printf("size = %d\n", SIZE(s));
  9. printf("data = %s\n", s);
  10. }
  11.  
  12. int
  13. main(void)
  14. {
  15. ololo("foobar");
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
size = 4
data = foobar