#include <stdio.h> PI 3.14 MianJi(r1) PI*r1*r1 He(x,y) x+y Ji(x,y) ((x)*(y)) SIZE 10 He(x,y) x+y Ji(x,y) ((x)*(y)) Swap(x) x-('a'-'A') Max(x,y) x>y?x:y main( argc, * pi = r = printf( printf(,MianJi(r)); i = j = printf( printf( printf(, / Ji(+, +)); i = ,j = printf( printf( printf(,Swap( printf( }
#include <stdio.h> PI 3.14 CHAR "hello" A -a MIANJI(r) PI*r*r F1(x,y) printf("max:%d\n",x>y?x:y); STR(x) #x QUANJU(x) g_##x QUANJU(i) = ; main( argc, * i = printf( printf( printf( printf( printf( printf(,CHAR); a = printf(,-A); N 5 N N 8 M N+3 printf(,M); F1(, }
Printf ("Is it a C language standard: % s \ n" ,__ STDC __? "Yes": "no ");
#include <stdio.h> ZHAOBENSHAN 1 i = printf( scanf(,& #ifndef ZHAOBENSHAN (i == printf( } printf( (i == printf( } printf( }
#include <stdio.h> DEVICE 2 DEVICE == 0 printf( DEVICE == 1 printf( DEVICE == 2 printf( DEVICE == 3 printf( DEVICE == 4 printf( printf( }