Complete the following function:/* copy string2 to string1 */void strcopy(char string1[], char string2[]){ int i = 0; while (string2[i] != '\0') { string1[i] = string2[i]; i++; } ____}
A. return;
B. string1[i - 1] = '\0';
C. string1[i] = '\0';
D. string1[i + 1] = '\0';
Answer: C
Computer Science & Information Technology
You might also like to view...
NSP stands for _____.
A. Network System Provider B. Network Support Provider C. Network Service Protocol D. Network Service Provider
Computer Science & Information Technology
How are folders represented in a package?
What will be an ideal response?
Computer Science & Information Technology
All the sales representatives at Premiere Products get the same commission rate.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
Illustrator is designed to meet the needs of both the designer and the professional printer.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology