KNOW:
typedef
provides a mechanism for creating synonyms for
previously defined types
BE ABLE TO:
Sample Quiz Questions:
Create a makefile for a program that has two header files (board.h
and useful.h
), and three source files (board.c
,
useful.c
, and game.c
). The source files contain
these include directives:
board.c: #include "board.h" #include "useful.h" useful.c: #include "useful.h" game.c: #include "board.h" #include "useful.h"(Hint: draw a dependency diagram first)
PRE: string1 is a string. string2 points to an array with length >= strlen(string1) POST: string2 is a string identical to string1, except that all vowels in string1 have been converted to capital letters in string2 void bigVowels (const char *string1, char *string2)Use pointers to solve this problem (don't use array subscripts). You may use the function toupper() (from ctype.h).