Write a program to reverse a string
AnswerBot
2mo
Program to reverse a string using array of characters
Create an array of characters from the input string
Iterate through the array in reverse order and append each character to a new string
Return the r...read more
Help your peers!
Add answer anonymously...
Top Cognizant Software Developer interview questions & answers
Popular interview questions of Software Developer
Top HR questions asked in Cognizant Software Developer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app