Ask Question
8 February, 00:41

To define a c-string that will store students' last names of up to 25 characters in length, which is an appropriate statement?

+4
Answers (1)
  1. 8 February, 00:48
    0
    The answer is : char lastName[26];

    This is the appropriate statement to define a C-string that will store students' last names of up to 25 characters in length. C-string is a string whose characters are stored in consecutive memory locations, and are followed by a null character, or null terminator.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “To define a c-string that will store students' last names of up to 25 characters in length, which is an appropriate statement? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers