Why is the null character important in C-strings?

What will be an ideal response?

The NULL character is important in C-strings because it indicates the end of the valid data in the character array. Many functions, such as, the cout and string functions, require the NULL character to work properly.

Computer Science & Information Technology

You might also like to view...

The placement of balloons is set by default and cannot be changed

Indicate whether the statement is true or false

Computer Science & Information Technology

The ________ pane is used to move through a Word document

A) Preview B) Task C) Navigation D) Search

Computer Science & Information Technology