The document describes 4 programs that use string functions in C++. Program 1 accepts two words of equal length. Program 2 accepts words ending in 'y'. Program 3 produces a full name by concatenating first and last names. Program 4 determines if a word is a palindrome by reversing the string and comparing it to the original. Solutions for each program are provided, such as getting string lengths, checking specific characters, reversing strings, and ignoring case when comparing.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
19 views
Programs Using String Functions
The document describes 4 programs that use string functions in C++. Program 1 accepts two words of equal length. Program 2 accepts words ending in 'y'. Program 3 produces a full name by concatenating first and last names. Program 4 determines if a word is a palindrome by reversing the string and comparing it to the original. Solutions for each program are provided, such as getting string lengths, checking specific characters, reversing strings, and ignoring case when comparing.
IT Governance A Manager Guide to Data Security and ISO 27001 ISO 27002 4th Edition by Alan Calder, Steve Watkins ISBN 0749452714 9780749452711 - Download the full ebook set with all chapters in PDF format