It usually happens when you copy some code from a website. Its not visible in editors like Notepad++ and all. Open your code in an editor like 'vi' ( 'vim' in Windows) . There you can see the stray characters and delete it.
On Aug 6, 10:57 pm, jagrati verma <jagrativermamn...@gmail.com> wrote: > error: stray ‘\342’ in program -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.