Saturday, May 25, 2019

c programming //getchar and putchar test

//getchar and putchar test


#include <stdio.h>
#include <stdlib.h>

int main()
{
    char ch;
    printf("enter a character\n");
    ch = getchar();
    printf("entered character is ");
    putchar(ch);
    return 0;
}

No comments:

Post a Comment

python class topic video