fork download
  1. #include <string.h>
  2. int foo(void) {
  3. char bar[128];
  4. char *baz = &bar[0];
  5.  
  6. baz[127] = 0;
  7.  
  8. return strlen(baz);
  9. }
  10.  
  11. int main() {
  12. printf("Aayush %d", foo());
  13. return 0;
  14. }
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
Aayush 6