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.
Computer Science & Information Technology
You might also like to view...
If the same field, Sales, is added together in every record to find the total sales of a company, then it would naturally follow that:
A) the primary key is made up of multiple fields. B) the primary key is made up of a single field. C) the primary key is made up of a single record. D) the primary key is made up of multiple records.
Computer Science & Information Technology
What is the Gizmos toggle button used for?
What will be an ideal response?
Computer Science & Information Technology