Code:
main( )
{
float a = 15.5 ;
char ch = 'C' ;
printf ( "\n%f %c", a, ch ) ;
printit ( a, ch ) ;
getch();
 }
printit ( float sa, char sch )
{
 printf ( "\n%f %c", sa, sch ) ;
}
this shows 15.5 C in main printf() and 0.00 in printit() why?

Last edited by shabbir; 6Dec2008 at 12:50.. Reason: Code block