test.c

来自「linux下的C语言开发」· C语言 代码 · 共 31 行

C
31
字号
/* This is a single line comment *//*  * This is a mult-line * comment. */int main() {    /* A procedure */    int i;      /* Comment / code line */    char foo[10];    strcpy(foo, "abc");         /* String */    strcpy(foo, "a\"bc");       /* String with special character */    foo[0] = 'a';               /* Character */    foo[1] = '\'';              /* Character with escape */    i = 3 / 2;                  /* Slash that's not a commment */    i = 3;                      /* Normal number */    i = 0x123ABC;               /* Hex number */    i = ((1 + 2) *              /* Nested () */         (3 + 4));    {        int j;                  /* Nested {} */    }    return (0);}

⌨️ 快捷键说明

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