What happens if you forget to place a null character in a character array and then write the array using cout?

What will be an ideal response?

The cout object will continue to write characters to the screen until it sees a NULL character ‘\0’.

Computer Science & Information Technology

You might also like to view...

Excel comes with many predefined table styles that are called:

A) table elements. B) quick styles. C) chart designs. D) table designs.

Computer Science & Information Technology

Barbara is a swim coach at the local YMCA. The boys and girls she teaches compete in both individual and team competitions. Barbara maintains an Excel worksheet to record her swimmers' individual and team results.Barbara identifies the fastest, slowest and intermediate times of individual swimmers in the 200-meter backstroke by choosing a(n) ____ of red, yellow, and green flags.

A. icon set B. color scale C. data bar D. cell criteria

Computer Science & Information Technology