(pd: estoy aprendiendo asi q disculpen si es un error.. xD obvio)

#include<stdio.h>
#include<conio.h>
int datos( int z );
int funcion( int x, int y);
int a,b ;
int main (){ // incio programa
datos (a);
datos (b);
funcion (a,b);
getche ();
} // fin programa
int funcion ( int x, int y) { // incio funcion
if (x > y) {
printf("el numero mayor es %d", x);
}else{
printf(" el numero mayor es %d", y );
}
} // fin funcion
int datos ( int z ) { // inicio funcion
printf("ingrese un numero: ");
scanf("%d", &z);
} // fin funcion