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

You should spend equal time in a warm-up and a cool down. How long should you spend in each?
what is the capital city of srilanka
What were the ramifications of the influx of silver for europe and china?
Which text from "Helen Grey" explicitly explains a more important quality than beauty? And frown, and say your shrewish say Your eyes are bold, your laugh is lo
In the sestet from sonnet xix by john milton, how is the idea of service to god interpreted?
After an unequivocal experience of the inefficiency of the subsisting federal government, you are called upon to deliberate on a new Constitution for the United
If 1/x= 3/4 than 3x=?
Determine the answer to (−3) + (−5) and explain the steps using a number line .
please answer this question ???
How much bigger is 1 1/4 button than a 5/8 button?