What is the problem (if any) with this code?

```
char s1[20] = “How you been? ”;
strcat(s1, “Fine as wine”);
```
What will be an ideal response?

Not enough room for the source C-string to be concatenated to the C-string
in the destination string. The strcat function copies the first character of the
second argument (the source) to the null terminator of the first argument (the
destination). Successive characters are copied until the null terminator for the source string is reached. No check is made concerning space available.

Computer Science & Information Technology

You might also like to view...

When storing information in a computer, the binary numbering system uses a(n) ________ to represent an on switch

Fill in the blank(s) with correct word

Computer Science & Information Technology

Filtering the Cost column (field) to show only records Greater than $10,000 is an application of

A) a Text Filter. B) a Number Filter. C) use of a table element as a formula. D) a Date Filter.

Computer Science & Information Technology