Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 2As 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 pointersStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started