Run Code
|
API
|
Code Wall
|
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
120465-11.1-3E
TeleBook2
A_141121_factorial01
FUNTION 2
Undefined argument processing order in C
C_141210_Funciones
18BCE2182 ASSESS_1 Q2-3
structure1
String manipulation
funciones matrices