Program to check prime number and a program to reverse a string
AnswerBot
7mo
Program to check prime number and reverse a string
For checking prime number, iterate from 2 to n/2 and check if n is divisible by any number
For reversing a string, use a loop to iterate through the ch...read more
Help your peers!
Add answer anonymously...
Top Volkswagen Lead Developer interview questions & answers
Popular interview questions of Lead 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