Devi farti un vettore di Caratteri
Dai Come Input "Matteo Pippo"codice:int main() { char str1[25+1]; /* +1 perche' l'ultimo e' il '\0' */ char str2[25+1]; printf("Read String (NO SPACE): "); scanf("%s", str1); printf("Read String (AND SPACE): "); gets(str2); puts(str1); puts(str2); return(0); }
in tutte due le richieste e vedi i risultati