C
This commit is contained in:
9
DeitelC/Chapter5/exercise5-42.c
Normal file
9
DeitelC/Chapter5/exercise5-42.c
Normal file
@ -0,0 +1,9 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
int c = '\0'; // variable to hold character input by user
|
||||
if ((c = getchar()) != EOF) {
|
||||
printf("%c", c);
|
||||
main();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user