ok, as far as i know this is really advanced and i shouldnt be treading this path. but the curiosity gets the better of me and i am asking it anyway.

every function has an address, right? so now for basics let us consider the printf. now i want to know how to manipulate the values at this address so that:

each time somebody calls printf the same thing should be printed.
think this has got something to do with compiler design.

it would be nice if some real "punter" explained this to all us "pretty much" newbies. would be nicer if u could give the code snippet too.

thanx.