Answer the following questions true (T) or false (F)

1. A C-string variable is an array, so it can be indexed to access individual character positions (indexed variables of type character).

2. A C-string is a sequence of characters terminated by the null character.

1. True
2. True
Explanation: A C-string variable must always be longer than the C-string contained in the variable by one character positions to accommodate the null terminator.

Computer Science & Information Technology

You might also like to view...

The Calculator on the Apps screen will only perform simple addition, subtraction, multiplication and division functions

Indicate whether the statement is true or false

Computer Science & Information Technology

Using ________ simplifies adding complex mathematical formulas to a cell

Fill in the blank(s) with correct word

Computer Science & Information Technology