#include <stdio.h>

int main(void)
{
   char letra;
   /*Obtenemos un caracter del teclado y lo mostramos*/
   letra=getchar();
   putchar(letra);
   /*Hacemos una pausa hasta que el usuario pulse Intro*/
   fflush(stdin);
   printf("\nPulse Intro para finalizar...");
   getchar();
   
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: