我开始学c,请大家帮我看下这个程序, #include<reg51.h> void tp(); main() { int a,b,z; tp(); a=z; b=0x76; a=a&b; while(1) { P0=a; } } void tp() { int x,y,z; x=3; y=6; if(x>y) z=x; else z=y; return(z); } 晴空 12:49:32 MY.C(24): error C174: return-expression on void-function
|