Skip to content

Instantly share code, notes, and snippets.

@nissuk
Created December 3, 2011 15:12
Show Gist options
  • Save nissuk/1427348 to your computer and use it in GitHub Desktop.
Save nissuk/1427348 to your computer and use it in GitHub Desktop.
C: 前置 < 間接参照 < 後置
#include <stdio.h>
void main() {
int a[] = {10, 20}, *p;
p = a;
printf("%d", ++*p++); // == (++(*(p++)) == 11
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment