BUG: Character Constant with \0 Not Stored ProperlyLast reviewed: July 14, 1997Article ID: Q122790 |
The information in this article applies to:
SYMPTOMSCharacter constants containing the escape character "\0" (octal) may not be stored properly. The escape character may be swapped with the character that immediately preceeds or follows it in memory.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONRun the following sample code to demonstrate the problem.
Sample Code to Reproduce Problem
/* Compile options needed: none */ #include <stdio.h> void main(void) { printf("%08X", 'A\0H\0'); } /* Output */ 00410048 /* Expected Output */ 41004800 |
Additional query words: 8.00 9.00 10.00 10.10 10.20
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |