Popular posts from this blog
Write the program to make Permutation(arrangements of string ) of a string .
http://cpp.sh/6tjpq some points :- 1_ )Permutation :- A permutation is a mathematical technique that determines the number of possible arrangements in a set when the order of the arrangements matters. 2_ ) Syntex :: string.substr(i , ln ) Use of this Syntex :- to make substring (i.e make small String from big string). i = i represent index. ln= ln represent lenth of string ex:- let string a = "abgs" ; cout<<a.substr(0,0) //print nothing lenth is zero cout<<a.substr(0,1) //print 'a' because at zero index 'a' is present and length is 1 ...



Comments
Post a Comment
If you have any doubt ,let me know