void main()
{
     char a,b,c;

     scanf("%c%c%c",&a,&b,&c);
     printf("\n%c %c %c\n", a,b,c);
}

............................
You may figure out from the above test code whats happening while
character input.

Its taking '\r' too as a character input as in your case 1st, which is
not the same in 2nd case

-- 
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.

Reply via email to