Untitled
// Online C compiler to run C program online #include <stdio.h> int main() { char stringa[11]; //10 caraterri + '\0' printf("Inserisci una stringa (max 10 caratteri): "); fgets(stringa, sizeof(stringa), stdin); printf("Hai inserito: %s\n", stringa); return 0; }
Leave a Comment