Functions calling via main

sir can we call a function from main(),then from that function ,a another function would it work???

@Tanna hey tanna
void b(){}
void a(){
b();
}
int main(){
a();
}
this will work

okkkk thanks very much