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