Compile “reverse.c” and “palindrome.c” and place them into an archive called “string.a”. Write a main program in “prompt.c” that prompts the user for a string and then outputs 1 if the string is a palindrome, and 0 if it is not. Create a makefile for the program that links “prompt.o” with the reverse () and palindrome () functions stored in “string.a”. Use gdb to debug your code if any bugs exist.
What will be an ideal response?
The main program will call functions from the archive file string.a.
You might also like to view...
How many comparisons will the linear search algorithm make if the search key is not in an array of 10 elements?
a. 0. b. 10. c. 9. d. 5.
____________________ involves running duplicate links in an aggregate that is treated as one link that has the total speed of each link added together.
Fill in the blank(s) with the appropriate word(s).
One advantage of linking to an external Excel sheet is that you can edit the data directly in Access instead of having to open the file in Excel and make the changes there.
Answer the following statement true (T) or false (F)
To ensure that viewers do not get lost in your site, make sure you design all the pages with a consistent look and feel.
Answer the following statement true (T) or false (F)