swiseman7411 swiseman7411
  • 02-12-2019
  • Computers and Technology
contestada

Declare a char array named line suitable for storing C-strings as large as 50 characters, and write a statement that reads in the next line of standard input into this array. (Assume no line of input is 50 or more characters.)

Respuesta :

Khoso123
Khoso123 Khoso123
  • 04-12-2019

Answer:

char line[50];

cin.get(line,50);

Explanation:

The "char" data type stores character data in a fixed-length field.

Answer Link

Otras preguntas

What's 1,537x242 SHOW UR WORK PLEASE!!!
Solve log (base 5)(9x-4)=1
Britain and France signed an entente and became the a. Central Forces. c. Central Powers. b. Allied Forces. d. Axis Powers.
_____ level degrees include master’s, specialist’s, and doctorate degrees. a. Undergraduate b. Graduate c. Secondary d. Primary
Use the word bank to answer the question. Ways that an author reveals character a. personification b. situational irony c. characterization d. paradox e. m
When you go to the market, what can you use as a guide to learn the number of calories in foods? A. Frozen foods always have fewer calories than canned foods, s
The Expansion Of The Rail Networks Led To ?
blank text has a darker apperance than normal texts
Is 6 a múltiple factor Of 24
(1+5/6)(1-5/6) I don't understand it