When i am working of with character strings. I have something like this: 

```
#include <stdio.h> 
#define MAXLINE 1000 

main(){
int c; 
int i=0;
char s[MAXLINE]; 

while(c=(getchar()) !=EOF) 
{
s[i] = c; 
++i; 
} 
}

```

I want to ask after i write something like `HELLO` and then hit `enter` to break line does the '\n' adds first to after the character stream or the Null terminating character i.e. '\0' 

Visually which one is correct representation of what's happening: 
(1) HELLO\n\0
OR 
(2) HELLO\0\n