This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| BasedOnStyle: Microsoft | |
| IndentWidth: 4 | |
| UseTab: Never | |
| LineEnding: DeriveLF | |
| MaxEmptyLinesToKeep: 1 | |
| BreakBeforeBraces: Linux | |
| AllowShortBlocksOnASingleLine: Never | |
| AllowShortIfStatementsOnASingleLine: Never | |
| IndentCaseLabels: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // side note: https://www.bilibili.com/video/BV1ZL411n7Yd | |
| // in clang you will get: | |
| // warning: multiple unsequenced modifications to 'i' | |
| #include <stdio.h> | |
| int main(void) | |
| { | |
| int i,b; | |
| i = 1; | |
| b = (++i)+(++i); |
NewerOlder