Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a function named revString that accepts one character pointer as a parameter and returns no value. The parameter must be a C-string. This function

Write a function named revString that accepts one character pointer as a parameter and returns no value. The parameter must be a C-string. This function must remove all of the digit character letters from the string. The revised string argument must be a valid C-string. Your function must not use any square brackets and must not use the strlen or strcpy library functions. The signature for revString should be: void revString( char * msg )

int main() { char msg[100] = "Happy 2021!"; revString(msg); cout << msg << endl; // prints: Happy ! }

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Informix Database Administrators Survival Guide

Authors: Joe Lumbley

1st Edition

0131243144, 978-0131243149

More Books

Students also viewed these Databases questions

Question

1. I can explain the emotions I feel to team members.

Answered: 1 week ago