#include <stdio.h>
#include <conio.h>
int x = 2; int y = 3; int z = 4; void fun(int x, int *y)
{ int z; x = x+3; *y = *y+3; z = z+3; printf("fun: x = %1d, *y = %1d, y = %1d, z = %1d\n", x,*y,y,z); } int main(void){ moo(x, &y); printf("main: x = %1d1, y = %1d, z = %1d\n", x,y,z); }
No comments:
Post a Comment