Line ____ in the following section of code checks for the end-of-string character. 1 void strcopy (char string1[], char string2[]) 2 { 3 int i = 0; 4 5 while (string2[i] != '\0') 6 { 7 string1[i] = string2[i]; 8 i++; 9 }10 string1[i] = '\0';11 }
A. 3
B. 5
C. 7
D. 10
Answer: B
Computer Science & Information Technology
You might also like to view...
Software clients called ________ installed on network devices are designed to collect information from the host
Fill in the blank(s) with correct word
Computer Science & Information Technology
Economic attacks are relatively easy to execute and carry a low risk for the attacker
Indicate whether the statement is true or false.
Computer Science & Information Technology
The _____ method traverses all of the child nodes of node where any adjacent text nodes are merged into a single text node.
A. node.append() B. node.cloneNode() C. node.children.length() D. node.normalize()
Computer Science & Information Technology
To delete an incorrect character in a document, simply click next to the incorrect character and then press the ____ key(s) to erase to the left of the insertion point.
A. CTRL+HOME B. DELETE C. BACKSPACE D. END
Computer Science & Information Technology