On Tue, Dec 7, 2010 at 4:27 AM, Tridib Bandopadhyay <tridib04 / gmail.com> wrote: > > I tried in there also.Here is the code.-- > > > rb_gc_start() > { > rb_gc(); > return Qnil; > printf("Hello!!") > } It will never work. You're printing after return! Regards, Ammar