#include <stdio.h>
#include <stdlib.h>
int x;
int main() {
int y; // main裡的y
int f(int);
x = 1;
y=x+10;
printf("I have done y=x+10 = %d %o %x\n",y,y,y);
y=f(3); // 這裡的y是main裡的y y=f(x)=3x+x+1
printf("I have done y=f(x)=3x+x+1 = %d \n",y);
system("pause");//printf print + format
}
int f(int z) {
return 3*z+2*z+1;
}