jessicaflower2305 jessicaflower2305
  • 26-04-2018
  • Computers and Technology
contestada

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

Respuesta :

lilaipo
lilaipo lilaipo
  • 07-05-2018
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.
Answer Link

Otras preguntas

needed the help so please help
Was going back to his home town" is a phrase, not a sentence, because it lacks a subject. pronoun. preposition. verb.
what is 9.03×10^2 in standard form
Val’s go cart has a gas tank with the dimensions shown below. He uses a gas can that holds 1 gallon of gas, to fill the go cart tank. 1 gallon = 231 inched cube
The Philips family had 3 cats. They needed to split 20 ounces of cat food among the three cats. How much cat food would each cat get? between what two whole num
look at the picture below // PLEASE HELP // 30 points
Why is the president asking Congress for a Declaration of War?
View on war for Joseph Stalin
The goal of an optimization problem is to find the maximum or minimum value of the
If a person goes unconscious while you are helping him, what should you do?