📝 Added sandbox (code sketchbook)
This commit is contained in:
parent
b475595f7f
commit
b5daf18b1a
142 changed files with 100702 additions and 0 deletions
14
sandbox/getchar.c
Normal file
14
sandbox/getchar.c
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main () {
|
||||
char c;
|
||||
|
||||
printf("Enter character: \n");
|
||||
c = getchar();
|
||||
|
||||
printf("Character entered: \n");
|
||||
putchar(c);
|
||||
printf("\n");
|
||||
return(0);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue