Can we include one C program into another C program if yes how?

Answer Posted / cheers!

You can include a C file in an another file as depicted in the above example.
And you can also include an another process call ( which is basically a program) in a running program like..

int main()
{
main() // example 1
system("./RunMyProg"); // example 2
system("ls -l"); // example 3
}

Is This Answer Correct ?    0 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does s c mean in text?

605


Is array a primitive data type in c?

573


Which is the memory area not included in C program? give the reason

1499


Explain how can I read and write comma-delimited text?

646


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

760






Explain what will the preprocessor do for a program?

593


What are reserved words?

650


What are the salient features of c languages?

619


What is variables in c?

599


Explain the advantages of using macro in c language?

571


What are the basic data types associated with c?

808


an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational

805


can we have joblib in a proc ?

1650


How can I swap two values without using a temporary?

609


What is the difference between a free-standing and a hosted environment?

636