Social Sciences, asked by swinder467, 8 months ago

which of the following is used to reverse the string?​

Answers

Answered by Anonymous
1

⎝⎝⫸⫷ANSWER⫸⫷⎠⎠

strrev

  • Answer: To reverse a string, we use the function Is strrev(). The Str stands for the string part. When a programmer gives a string as an input, this function runs in the background from left to right and after going through it, it reverses the string from right to left.

Hope this will help you♥

Answered by Anonymous
1

\boxed{ \huge{ \fcolorbox{yellow}{white}{ \pink{Answer}}} }

sᴛʀʀᴇᴠ

  • ᴛᴏ ʀᴇᴠᴇʀsᴇ ᴀ sᴛʀɪɴɢ, ᴡᴇ ᴜsᴇ ᴛʜᴇ ғᴜɴᴄᴛɪᴏɴ ɪs sᴛʀʀᴇᴠ(). ᴛʜᴇ sᴛʀ sᴛᴀɴᴅs ғᴏʀ ᴛʜᴇ sᴛʀɪɴɢ ᴘᴀʀᴛ. ᴡʜᴇɴ ᴀ ᴘʀᴏɢʀᴀᴍᴍᴇʀ ɢɪᴠᴇs ᴀ sᴛʀɪɴɢ ᴀs ᴀɴ ɪɴᴘᴜᴛ, ᴛʜɪs ғᴜɴᴄᴛɪᴏɴ ʀᴜɴs ɪɴ ᴛʜᴇ ʙᴀᴄᴋɢʀᴏᴜɴᴅ ғʀᴏᴍ ʟᴇғᴛ ᴛᴏ ʀɪɢʜᴛ ᴀɴᴅ ᴀғᴛᴇʀ ɢᴏɪɴɢ ᴛʜʀᴏᴜɢʜ ɪᴛ, ɪᴛ ʀᴇᴠᴇʀsᴇs ᴛʜᴇ sᴛʀɪɴɢ ғʀᴏᴍ ʀɪɢʜᴛ ᴛᴏ ʟᴇғᴛ.

Similar questions