Question: task 1 q 2 As I have to test all these functions (CopyString(), ConcatString(), CompString(), RevString()) from my main function, in that case i have

task 1 q 2task 1 q 2As I have to test all these functions (CopyString(),As I have to test all these functions (CopyString(), ConcatString(), CompString(), RevString()) from my main function, in that case i have to write one program for all these functions not 4 different program for 4 different functions

Write a C program and perform the following tasks as suggested in each section. Test all the below functions from the main function of the program. Sample User input: String-A: Department of Computer Science and Engineering String-B: Dallas University of Science and Engineering (a) Create a function named CopyString() to copy string-A to another string-C using pointers. (b) Create a function named ConcatString) to concatenate two strings (A and B) using pointers. (c) Create a function named CompString() to compare two strings (A and B) using pointers. (d) Create a function named RevString() to find reverse of a string-B using pointers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!