What is '#' operator in C?

前端 未结 5 499
夕颜
夕颜 2020-12-11 12:19

Is there a \'#\' operator in C ?

If yes then in the code

enum {ALPS, ANDES, HIMALYAS};

what would the following return ?

5条回答
  •  [愿得一人]
    2020-12-11 12:30

    No. # is used for preprocessor directives, such as #include and #define. It can also be used inside macro definitions to prevent macro expansion.

提交回复
热议问题