How to switch running scripts in C?

I am making a program in C and it has multiple scripts. In python, you can just do exec(open("")). But how would you do that in C? Like how do I execute a different script in C?

You are viewing a single comment. View All
Answered by xxpertHacker [earned 5 cycles]
View Answer

@Crcoli7307 if you have a function called foo() in bar.h, and bar.h is included in main.c, put foo() in your c file