I have a web application written in nodejs which needs to communicate with C binary to fetch and set some details, any idea on how to approach this?
Edit: Because the question is too broad i will give an example
consider this c program -> test.c
#include <stdio.h>
int main(b){
int a = 5;
return a+b;
}
now i want to execute this test.c from Nodejs and pass in the vaule of b(say b=5) and retrieve the final result as 10