What can create a lexical error in C?

后端 未结 6 809
轻奢々
轻奢々 2021-01-02 17:37

Besides not closing a comment /*..., what constitutes a lexical error in C?

6条回答
  •  我在风中等你
    2021-01-02 18:21

    Illegal id

    int 3d = 1;
    

    Illegal preprocessor directive

    #define x 1
    

    Unexpected token

    if [0] {}
    

    Unresolvable id

    while (0) {}            
    

提交回复
热议问题