测试一些C特性

This commit is contained in:
nonstriater
2014-05-18 13:02:39 +08:00
parent 7fc950aa3b
commit 98ed4336bc
33 changed files with 618 additions and 47 deletions
+10
View File
@@ -0,0 +1,10 @@
#include <stdio.h>
int main()
{
int a=3, b = 5;
printf(&a["Ya!Hello! how is this? %s\n"], &b["junk/super"]);
printf(&a["WHAT%c%c%c %c%c %c !\n"], 1["this"],
2["beauty"],0["tool"],0["is"],3["sensitive"],4["CCCCCC"]);
return 0;
}