Respuesta :
In the C programming language, the putchar() function is used to write a character to standard output or the screen.
To obtain or read a character via keyboard input, use the getchar() function. The description and syntax for the file handling function mentioned above are provided below. Moving to a specified location in a file requires additional functionalities from random access processing. The fseek() function enables you to jump directly to any specific byte in a file opened by fopen and treat a file like an array (). The current location in a file is returned as a long value by the ftell() function.
#include <stdio.h>
#include <ctype.h>
int main()
{
char c;
printf("Enter some character. Enter $ to exit...\n");
while (c != '