Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
length
#include <stdio.h> #define SIZE 30 int main(void) { // my array for the string char myString[SIZE]; int stringLength=0; int i=0; printf("Example program for some string manipulations.\n"); // First read in an input string if (fgets(myString, SIZE, stdin)) { while(myString[i]!=0) { i++; } stringLength= printf("Length of %s us %d ", myString); } else { printf("Error reading in the string!\n"); } return 0; }
run
|
edit
|
history
|
help
0
Double data type.c
sum of min and max
sorted array
selection sort
sample.c
1233333
B_141202_CTYPE
C_141126_ArrayMayorMenor02
Avance Pregunta 2 guía 4
bitwise_operation__end-of-class