I have a .c
file with a program (obviously written in C):
#include
int main(int argc, char** argv) {
printf(\"Hello World\\n\");
You cannot execute an file ".c" from shell. You must compile it first.
For example: We have an file called "file.c"
gcc file.c -o executable
)./executable