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

how can 1/4 be written
Cultural differences in emotional expression
Why would an organism behave in a way that reduces its individual fitness?
To enter a local fair, one must pay an entrance fee and pay for the number of ride tickets he/she wants. admission to the fair is given by the equation f(x) = .
Which of the following explains why Congress raised the tariff on refined sugar in 1842? A. to encourage American farmers to plant sugarcane b. to encourage Am
Ultraviolent radiation is one of many types of energy that comes to Earth from the Sun. True or False Help!!!
When 0.1625 g of magnesium is burned in a bomb calorimeter that has a heat capacity of 3.03 kJ/ ∘ C, the temperature increases by 1.252 ∘ C. How much heat (kJ
The Roosevelt Corollary to the Monroe Doctrine called for A) investing in the economic development of Latin America. B) pledging to help Japan and Russia nego
find the 120th term, given the first term and the common difference. a =52 and d=12  1
negative 48 plus 31 -3-5-7-4