Given the following two arrays:

```
char s1[] = {'a', 'b', 'c'};
char s2[] = "abc";
```

Which of the following statements is correct?

A. s2 has four characters
B. s1 has three characters
C. s1 has four characters
D. s2 has three characters


A. s2 has four characters
B. s1 has three characters

Computer Science & Information Technology

You might also like to view...

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

1. A binary search works with any array of numbers. 2. For the binary search in the text to work, the element searched for must actually be present in the array.

Computer Science & Information Technology

The ________ function calculates the average, or arithmetic mean, of all cells in a range that meet a specific condition

Fill in the blank(s) with correct word

Computer Science & Information Technology

An underlying value that does mathematical calculations on numeric values in a worksheet is ________

A) a cell address B) a text value C) the Formula AutoComplete D) a formula

Computer Science & Information Technology

Wireless network devices use ________ to communicate with each other

A) satellites B) radio waves C) fiber optics D) DSL

Computer Science & Information Technology