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


Expert's answer

int main()
{
	string str;
	cin >> str;
	str.reserve();
	str.length();
}
LATEST TUTORIALS
APPROVED BY CLIENTS