Set in string permutations

What is string t(a) here ???

this also a method to declare string

here we declare a string s with value equal to a

suppose a=“hello”
then
string t(a);
t will also contain “hello”;

i hope this helps
if yes hit a like and don’t forgot to mark doubt as resolved :grinning:
if you have more doubts regarding this feel free to ask

i hope your doubt is clear
so please mark it as resolved’