1/*
2 Copyright(C) 1998
3 All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
4
5 Permission to use, copy, modify, and distribute this
6 software and its documentation for EDUCATIONAL purposes
7 and without fee is hereby granted provided that this
8 copyright notice appears in all copies.
9
10 date : January 1, 1998.
11 authorĀ : Salih Yurttas.
12
13 a_05.c
14*/
15
16
17char** replace_with_upper(char**, int);
18
19void print_animals(char**, char**, int);
20
21int main(int argc, char *argv[]) {
22
23 char *animals[] = {"cat",
24 "tiger",
25 "lion",
26 "dog"};
27 int number_of_animals;
28
29 char **u_animals;
30
31 number_of_animals = 4;
32
33 u_animals = replace_with_upper(animals,
34 number_of_animals);
35
36 print_animals(animals,
37 u_animals,
38 number_of_animals);
39
40}