No subject

Dave Brolley brolley@cygnus.com
Mon Jul 20 09:06:00 GMT 1998


Alexander Favorov wrote:

> Hi!
> I found a very special effect in EGCS 1.0.2. for CYGWIN b19 on NT4.0.
>
> Such a code:
> /*************************************/
> #include <stdio.h>
> #include <stdlib.h>
> main()
> {
>         char buf;
>     buf='\13';
>     printf ("Char value is %3i",(int)buf);
>     return 0;
> }
> /*************************************/
>
> gives :
> Char value is  11

This is correct. \13 is octal.

Dave




More information about the Gcc-bugs mailing list