Use of Gets Function in C Programming

# Introduction In C Programming language, `gets()` function is used to take input from the user. Unlike `scanf()`, `gets()` reads a whole line of text, stops reading when Enter key is pressed, and does not discard the newline character. In this lab, we will learn how to use the gets() function in C programming through step-by-step instructions.

|
60 : 00

Click the virtual machine below to start practicing