/* 范例8-1 */#include stdio.hint ret(){return 3; /* 把数值返回 */}void main(void){int b;b ret(); /* 调用函数ret()将返回值赋予变量b */printf(b%d,b);getchar();}程序执行结果b3