-
Notifications
You must be signed in to change notification settings - Fork 0
/
strings.c
49 lines (32 loc) · 930 Bytes
/
strings.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
https://powcoder.com
代写代考加微信 powcoder
Assignment Project Exam Help
Add WeChat powcoder
https://powcoder.com
代写代考加微信 powcoder
Assignment Project Exam Help
Add WeChat powcoder
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// Part 3: Implement build_month_list.
int main() {
// Part 1: Declare and initialize first, second, and third.
printf("%s %s %s\n", first, second, third);
// Part 2: Declare and initialize string_list.
printf("%s %s %s\n", string_list[0], string_list[1], string_list[2]);
// For part 3: Once you've implemented build_month_list, uncomment this code.
/*
char **months = build_month_list();
for(int i = 0; i < 3; i++) {
printf("%s ", months[i]);
}
printf("\n");
for(int i = 0; i < 3; i++) {
months[i][3] = '\0';
printf("%s ", months[i]);
}
printf("\n");
*/
return 0;
}