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...
____ images have a transparent background so they can be placed in front of other pictures.
a. Relative b. Floating c. Absolute d. Thumbnail
Computer Science & Information Technology
Case 2You have taken the photographs for a website that you are creating. Answer the following questions about your use of those photographs on the web. Which of the following techniques would you use to blur the edges of a mask applied to the photograph in order to make the image appear softer?
A. Feathering B. Layering C. Cropping D. Color enhancement
Computer Science & Information Technology