What is the longest C-string that can be put into this C-string variable? Explain.

```
char s[9];
```
What will be an ideal response?


The longest C-string that can be put into s has length 8. The 9 th character is
taken up by the null terminator.

Computer Science & Information Technology

You might also like to view...

The pointer in a node points to

a. the data part of a node b. the count part of a node c. the pointer part of the node d. the whole node

Computer Science & Information Technology

Another way a systems analyst can show the scope of a system and define proper system boundaries is to use a(n):

A) flow chart. B) entity-relationship diagram. C) database diagram. D) spreadsheet.

Computer Science & Information Technology

In the accompanying figure of a typical network configuration, Item 1 indicates a ____.

A. router B. server C. workstation D. printer

Computer Science & Information Technology

Forms are often saved as ________ so they can be used repeatedly for data entry

Fill in the blank(s) with correct word

Computer Science & Information Technology