Explain the use of the functions getchar(), putchar(), gets() and puts() functions, with a suitable program
-
getchar(): This function is used to read a single character from the standard input (usually the keyboard). It reads the next available character from the input stream and returns it as an unsigned char cast to an int or EOF on end-of-file or error. -
putchar(): This function is used to write a single character to the standard output (usually the console). It takes a character as an argument and writes it to the output stream. -
gets(): This ______ _______ _______ ______ ___ _______ ________ _____.
_______ _____ _____ _______ ___ _________ _________ ______ ________ _______ _____.
________ _________ _________ _____ ______ ________ __________.
_____ __________ ____ _____ _______ ___ _____.
_____ _____ ______ ________ ______ ___ _____ ________ _____ ___.
__________ __________ _________ _______ _______ __________ _______ ________ _________ ____ ______.
____ __________ ___ _________ ___ ____ _______ ________ _____ __________ _______ ______.
___ ____ __________ _____ _______ _____.
_______ __________ ______ _______ _______ __________.
______ _______ ____ ________ __________ ______ __________ ______.
________ ___ _____ ____ _____ _____ ____.
_________ ______ _______ ____ ______ __________ _______ __________ _______ ________ ______.
____ _________ ________ ______ ______ ____ ________ ___ ______ ___.
_____ ___ ________ ____ _________ _____.
_______ ________ _______ _____ ________ _______.
_____ _____ ________ ____ ____ ________ _______ ___ ______ _________ ___.
________ ___ ___ ___ __________ ________ _______ ________ _________.
______ ________ ______ ________ _______ _______ __________.
____ ___ ____ _____ _____ ________.
_________ ____ ______ __________ _________ _____ ___ _________ ___ __________.
________ ___ ___ ___ ______ _______.
______ _____ __________ _______ _________ ______ ______ _________ ___ _________.
________ _________ ___ ________ ______ _______ _________ ________ ________ _________ __________.
______ ___ ____ _________ ________ _________ _______ ___ _____ ___ _____ _________.
______ ____ ___ _____ _____.
___ _______ ________ ____ _________ ____ _____ _____.
___ ______ ___ ___ _______ ____ ______ _________ ________.
____ _________ ____ _____ ____ _______ __________ _________ __________ ___ ______ ____.
_________ _______ _______ ____ _________.
______ ___ ____ ______ _______ ___ ___ _______ _________ ___ ___.
__________ _________ ______ ________ _________ _______ _____ _____ ____ _________ ______.
____ __________ _____ _____ ___ ___ _____ _________ _____ ________ ____ ____.
___ _____ ________ _______ ______ __________ ___ _________ ___ ___ _______.
_______ _____ _________ _____ ___.
______ _________ ________ ___ __________ __________ ___ _______ _______.
___ ____ ______ ____ _________.
________ ________ ___ _______ __________.
__________ _________ _________ _______ ______ ________ ______ _________ _____ ________ ___ ______.
______ ______ ____ ___ _________.
Get Full Answer on WhatsApp