There is a string input that is email address. You have to print the email id such that before @ few letters should be replaced with star.
AnswerBot
1y
Replace few letters before @ in email id with star and print the email id.
Identify the position of @ in the email address
Replace few letters before @ with *
Print the modified email id
Help your peers!
Add answer anonymously...
Top HCLTech Graduate Engineer interview questions & answers
Popular interview questions of Graduate Engineer
Top HR questions asked in HCLTech Graduate Engineer
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