value 200 exceeds the char range so -56 , to print 200 try unsigned char . On Sun, Jul 24, 2011 at 10:06 PM, Prashant Gupta <[email protected]>wrote:
> -56 > > > On Sun, Jul 24, 2011 at 8:15 PM, Arshad Alam <[email protected]> wrote: > >> #include<stdio.h> >> #include<conio.h> >> void main() >> { >> char ch=200; >> printf("\n%d",ch); >> getch(); >> } >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > > > -- > Prashant Gupta > B.Tech Final Year > Computer Science and Engineering > NIT Trichy > Phone : +91 9894462744 > > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Regards Rajeev N B <http://www.opensourcemania.co.cc> -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
