Computer Science, asked by anitarani54565, 10 months ago

which functions is used to read an entire string at the same time answer given on word​

Answers

Answered by itzshrutiBasrani
18

Explanation:

function can be used for reading the complete string at a time. It can read up to 100 characters at a time. It can also be used to read the whole line at a time.

Answered by anjaliom1122
0

Answer:

Getchar () is used to read an entire string at the same time.

Explanation:

To read a string, use the scanf() function. The scanf() function reads the character sequence until it encounters whitespace (space, newline, tab, etc.) Getchar () and putchar () are single character input/output functions (). Getchar() returns a single character and requires a key after input. To read a string, use the scanf() function. The scanf() function reads the character sequence until it encounters whitespace (space, newline, tab, etc.) We use three different functions to read data from the keyboard: scan(), readline(), and print() (). Values of Read Data: This is used to read data from the environment console or a file into the input vector or an input list.

Similar questions