Answer to Question #315510 in UNIX/Linux Programming for Moeez

Question #315510

Write a program which take string from user and you have to do following tasks with the string:

1. Reverse

2. Find Length

3. Sort

You have to create child of child’s as given below process tree for each task and each child exec with the image of program of particular task. Print the string after each operation. 


P

C

C

C


1
Expert's answer
2022-03-22T09:07:02-0400
int main()
{
	string str;
	cin >> str;
	str.reserve();
	str.length();
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS