Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
CPTTRN_1
18BCE2182 ASSESS_1 Q1-5
convertletter
150115_PrimoDelFactorial
child process
PRIMER PROGRAMA CON MALLOC()
LECTURA DE CADENAS CON FGETS
qsort
gets.c
Project 3 Part 1 v1.3
Please log in to post a comment.