For those who have already encountered this error “error: stray ‘\302’ in program” or something similar while compiling a program in C :
fool@localhost:~$ gcc -o hello_world hello_world.c
hello_world.c: In function ‘main’ :
hello_world.c:5: error: stray ‘\302’ in program
hello_world.c:5: error: stray ‘\304’ in program
Either you have to remove the entire line (here line 5), or you just have to remove some trailing characters. Sometimes, while writing into a text editor, some non-ASCII characters are inserted accidentally.