#include <stdio.h>
#include <conio.h> /*Esta función no existe aqui*/

int main(void) 
{

    char letra;
    
    /*Obtenemos un caracter del teclado y lo mostramos*/
    letra = getche();  //Esta función no existe porque este compilador no acepta la biblioteca <conio.h>
    putchar(letra);
    
    /*Hacemos una pausa hasta que el usuario pulse Intro*/
    fflush(stdin);
    printf("\nPulsa 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: