实例 C 语言代码行末尾的单行注释

x
 
#include <stdio.h>
int main() {
  printf("Hello World!"); // This is a comment
  return 0;
}
                    

输出结果

Hello World!