The available for console I/O functions are:
General:
1. printf
2. scanf
Character:
3. putchar -> int putchar(char)
4. getchar -> char getchar()
String:
5. puts(char[])
6. gets(char[])
Example using putchar and getchar:
char a;
while(a != '.'){
a = getchar();
putchar(a);
}
No comments:
Post a Comment