#include <stdio.h>
int main()
{
char do_diva = 4;
char testc = 10;
printf("testc :%d\n",testc);
testc = ({ \
int c = 2; \
int tou = 10; \
int fall = 11; \
while(c--) \
{ \
fall = fall%tou; \
} \
fall;
});
printf("testc :%d\n",testc);
return 0;
}
测试返回结果:
testc :10
testc :1