I am a beginner in C and there is one problem i can't seem to solve. I want to go from main() for example, to another function with a line or two of code. I have searched the Internet and nothing has answered this specific question, or so it seems to my amateur eyes. For example, i want to do this:
int main(void){
/*here i need a line of code that will make the program run FunctionToCall*/
}
int FunctiontoCall(void){
printf ("you went to this function! congratulations!\n");
}
I hope that helps sorry for the unclear question!