C
c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
const int MAX_INPUT = 100;
const int MAX_NAMES = 10;
const int MAX_NAME_LENGTH = 15;
typedef struct node
{
char *name;
struct node* next;
}
node;
void display(node *list);
int append(node *list, char *name);
char *format_string(int *j, char *in);
char **fill_array(char *in);
int main()
{
//node *list = malloc(sizeof(node));
char *input = malloc(MAX_INPUT);
char **arr;
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run