Slide 29 of 53 Ver. 1.0 Programming in C Character-Based Input-Output Functions Character-Based Input-Output Functions are: getc() putc() getchar() pu
{"Image DocumentName": "Character-Based Input-Output Functions", "Image ImageDescription": "Character-Based Input-Output Functions are: getc() putc() getchar() putchar() The following example uses the getc() and putc() functions: # include < stdio.h> /  function to accept and display a character / main () {char alph; alph = getc (stdin); /  accept a character  / fflush (stdin); /  clear the stdin buffer / putc (alph, stdout); /  display a character / } The getc() and getchar() functions are used to take a character from a stream. The getc() functions takes a stream as a parameter while the getchar() function does not take any parameter. Similarly, the putc() and putchar() function outputs a character to a stream. The putc() functions takes two parameters, the character to be output and the stream, while the putchar() function takes only one parameter i.e. the character to be output. 29.", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}