printf *%f

ratheesh k <[email protected]> Wed, 12 Jan 2011 13:09:08 +0530
Newsgroups org.kernel.vger.linux-c-programming
Message-ID <[email protected]>
double x=45.9876 ;

printf("%4.2f" , x); is working fine ...  But printf("%*f , 4.2 , x) ;
behaves odd in my  fedora 8 pentium machine. any clue ?

Does *  substitute only integers ?


-Ratheesh