how to hase string in c code example
Example 1: how to create a string in c
char greeting[6] = {'H', 'e', 'l', 'l', 'o', '\0'};
char greeting[] = "Hello";
Example 2: read string c
char name[20];
scanf("%s", name);
char greeting[6] = {'H', 'e', 'l', 'l', 'o', '\0'};
char greeting[] = "Hello";
char name[20];
scanf("%s", name);