0
#include <stdio.h>
int main()
{
   return "hello, world";
}

The above C code has been compiled in a program called hello.c

I would like to call the above C program from a Python program in order to print the return message "hello, world".

Is there a simple Python code example to do this? Something like this: import hello.c print(return)

0 Answers0