Discuss the similarities and difference between the two declaration/initializations:

```
a) char s1[] = “abc”;
b) char s2[] = {‘a’, ‘b’, ‘c’};
```


s1 is a C-string. s2 is not, because it is not null terminated. Both s1 and
s2 have the characters ‘a’, ‘b’, and ‘c’ in them but s1 is null terminated.

Computer Science & Information Technology

You might also like to view...

What is the binary representation of 6210?

a. 00111110 b. 00100010 c. 00100001 d. 11101000

Computer Science & Information Technology

Calling a dialog object’s ________ method causes the dialog to appear.

a) Show b) Display c) DisplayDialog d) ShowDialog e) None of the above.

Computer Science & Information Technology

A digital ID is most often used by people using social networks, such as Facebook, to verify their posts.?

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

Computer Science & Information Technology

You can use the Text property and/or the ErrorMessage property for validation controls to ____________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology