Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Class #2, data types
#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); /* char ch; //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.
maximum_template
TAREA M4 - LOTERIA
hello world
bitwise manipulation using another function
150109_RecursividadFactorial
dynamic memory allocation.c
time clock and day count through second by user input (ratneshgujarathi)
150114_MatrizSumaPerimetro
pattern 12
json formatter
Please log in to post a comment.