Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

No, the initial array of getline is not filled with a null character. The array is dynamically allocated and has an undefined value. It is the responsibility of the user to ensure that the array is properly initialized before using it.