This is a hit or miss. Say they are looking for a C coder. A bad recruiter (most of them) would just discard this as he/she wouldn't even recognize it as C code, just some junk not fitting into his/her template.
A good recruiter though, or if a recruiter wasn't used - they would see this as smart and creative and definitely get you an interview.
I've seen companies shutting down/relocated because of bad recruiters filtering good programmers like this.
Personally, I wouldn't want to work for a company that uses bad recruiters (and thus probably hires bad programmers), so something like this would be doing its job.
You don't have to go this far. My CV is a HTML page, and I just refuse to convert it to Word. It hinders the recruiters who just like to buzzword search their database.
I've seen companies shutting down/relocated because of bad recruiters filtering good programmers like this.