fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. const char *linesep = "\n";
  6. char buffer[10];
  7. buffer[0] = '\n';
  8. printf("%s", linesep[0] == buffer[0] ? "same" : "not same");
  9. return 0;
  10. }
Success #stdin #stdout 0s 4348KB
stdin
Standard input is empty
stdout
same