Ask Question
24 April, 09:37

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.)

+5
Answers (1)
  1. 24 April, 10:45
    0
    char line[50];

    cin. get (line, 50);

    Explanation:

    The "char" data type stores character data in a fixed-length field.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “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 ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers