On 2011-02-07, Ram Prasad <> wrote:
> I have a simple demo program that demonstates use of recursion ( on linux )
> The problem is that it does not work for "long" integers. I assume this is a problem with printf
No.
> I tried %l instead of %d but that doesnot print any integer.
Try %ld.
-s
--
Copyright 2010, all wrongs reversed. Peter Seebach /
usenet-
http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures
http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!
I am not speaking for my employer, although they do rent some of my opinions.