A
A
Arti-Jack2018-03-11 17:57:23
C++ / C#
Arti-Jack, 2018-03-11 17:57:23

How to enter sentences from the keyboard in pure C?

Good day to all.
I do not understand how to enter "sentences" from the keyboard in C. Let's say there is a variable N - the number of input sentences. How to implement input and storage in a two-dimensional (?) array of sentence chars?
For example, to be like this:

3
Hi there
I am here
I have no idea

And so that these lines are stored in the array?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question