The proper expression to compare the first characters of two string objects str1 and str2 is
A) str1[0] = str2[0].
B) str1[0] == str2[0].
C) strcmp(str1[0], str2[0]).
D) 'str1[0]' == 'str2[0]'.
E) None of the above
B) str1[0] == str2[0].
Computer Science & Information Technology
You might also like to view...
Which class do you use to read data from a text file?
a. File b. PrintWriter c. Scanner d. System
Computer Science & Information Technology
The ____ of an image grid can be expressed as dots per inch or pixels per inch.
A. color depth B. resolution C. density D. file size
Computer Science & Information Technology