You should append a null terminator to a buffer.
...
while (c != 13);
buffer[pos] = '\0'; // Here
}
solved Password buffer [closed]
You should append a null terminator to a buffer.
...
while (c != 13);
buffer[pos] = '\0'; // Here
}
solved Password buffer [closed]