#include <stdio.h>
char a[] = "ciao-amici";
void stampa_stringa(char s[]) {
int i;
for(i=0; s[i]!='\0'; i++) {
printf("ASCII %d\t=\t%c\n",s[i],s[i]);
}
}
int main() {
printf("%s",a);
//-------------------
printf("\n");
//printf("%c",'\n');
//-------------------
stampa_stringa(a);
}
To embed this project on your website, copy the following code and paste it into your website's HTML: