getchar 函数
#include <stdio.h>
int main(){
char c;
c=getchar();
putchar(c);
}
putchar函数
#include "stdio.h"
int main()
{
char a,b,c;
a='B';b='O';c='Y';
putchar(a);
putchar(b);
putchar(c);
putchar('\n');
}