#include <stdio.h>
char str[] = "Arrivederci"; // in questa maniera non specifico le dimensioni dell'array
// è come se avessi dichiarato un array di 12 caratteri
// 11 per i caratteri della stringa + 1 per il terminatore ''\0' = 12
int main() {
printf("%s\n",str);
// %s è la direttiva di formattazione per le stringhe
}
To embed this project on your website, copy the following code and paste it into your website's HTML: