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
int main()
{
string str;
cin >> str;
str.reserve();
str.length();
}
Comments
Leave a comment