Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A local variable declared in a function is not usable outside that function. Tru

ID: 3798317 • Letter: A

Question

A local variable declared in a function is not usable outside that function. True False System depended Depending on problems Which of the following functions compares two strings? compare (); string compare(); cmp(); strcmp(); Which of the following adds one string to the end of another? append(); stringadd (); strcat (); stradd (); Which of the following correctly declares an array? int anarray [10]; int anarray; anarray{10}; array anarray[10]; Which of the following is a two-dimensional array? array anarray [20] [20]; int anarray[20][20]; int array [20, 20]; char array [20]; What character ends all strings? '.' '' '' ' '

Explanation / Answer

1) a. True
2) d. strcmp()
3) c. strcat()
4) a. int anarray[10]
5) b. int anarray[20][20]
6) c. ''

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote