Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Class Friday 1/20 Inauguration Day
#include <stdio.h> #define SIZE 10 int main () { //char is 8 bits wide char mystring[SIZE]; fgets(mystring, SIZE, stdin); mystring[3] = 0; printf("%s",mystring); /* //int is 32 bits wide int num; for( ch = 75 ; ch <= 100; ch++ ) { printf("ASCII value = %d, Character = %c\n", ch , ch ); } for( num = 75 ; num <= 100; num++ ) { printf("ASCII value = %d, Character = %c\n", num, num); } */ return(0); }
run
|
edit
|
history
|
help
0
variable number of arguments
Score
Refcount220323
FunPointTeleBook
string.c
pointer example 2
eliminate_duplicates.c
back
exercises
Project v0.07