Skip to content

Instantly share code, notes, and snippets.

@hui-shao
Created April 29, 2022 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hui-shao/9022cc96da91f56534f49918cbfcaba0 to your computer and use it in GitHub Desktop.
Save hui-shao/9022cc96da91f56534f49918cbfcaba0 to your computer and use it in GitHub Desktop.
谭式C语言阴间问题之一
#include<stdio.h>
int main(){
unsigned short score = -1;
printf("%u\n",score);
while(score++<13){
score += score+++ ++score;
score = --score + score ++;
}
printf("%u\n",score);
score |= 1<<15;
printf("%u\n",score);
printf("%hd",score);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment