else-comment-br-ce.c

来自「indent为linux下代码自动格式化工具」· C语言 代码 · 共 75 行

C
75
字号
voidfoo (){  if (0)    i = 0;  else /* This is a dirty place to put a comment */ if (1)    i = 0;  else				/* comment behind else */    /* comment on new line, after else */    i = 0;  if (0)    /* Lets put a comment here too */    i = 0;  else				/* This is a dirty place				   to put a multi-line comment */ if (1)    i = 0;  else				/* multi-line comment				   behind else */    i = 0;  if (0)			/* Lets put a comment here too */    i = 0;  else /* This is a dirty place to put a comment */ if (1)    i = 0;  else				/* comment behind else */    /* comment on new line, after else */    i = 0;  if (0)    i = 0;  else if (1)			/* comment after if */    i = 0;  else    /* multi-line       comment */    i = 0;  if (0) {    i = 0;  } else /* This is a dirty place to put a comment */ if (1) {    i = 0;  } else {			/* comment behind else */    /* comment on new line, after else */    i = 0;  }  if (0) {			/* Lets put a comment here too */    i = 0;  } else			/* This is a dirty place				   to put a multi-line comment */ if (1) {    i = 0;  } else {			/* multi-line comment				   behind else */    i = 0;  }  if (0) {			/* Lets put a comment here too */    i = 0;  } else /* This is a dirty place to put a comment */ if (1) {    i = 0;  } else {			/* comment behind else */    /* comment on new line, after else */    i = 0;  }  if (0) {    i = 0;  } else if (1) {		/* comment after if */    i = 0;  } else {			/* multi-line				   comment */    i = 0;  }}

⌨️ 快捷键说明

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