900404_01.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 16 行

C
16
字号
// g++ 1.37.1 bug 900404_01// g++ allows string initializers for known-length character arrays to be// one character longer (counting the terminating null) than the actual// length of the array to be initialized.// The C++ Reference Manual (section 8.4.2) expressly prohibits this.// Cfront 2.0 passes this test.// keywords: arrays, initialization, array boundschar cv[4] = "asdf";		// ERROR - missedint main () { return 0; }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?