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
Explain what is the heap?
What are header files and what are its uses in C programming?
How do you generate random numbers in C?
Explain about C function prototype?
Find MAXIMUM of three distinct integers using a single C statement
What is the difference between fread buffer() and fwrite buffer()?
Difference between exit() and _exit() function?
Is c easy to learn?
What is pre-emptive data structure and explain it with example?
What is the 'named constructor idiom'?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
What is a 'null pointer assignment' error?
What is the code in while loop that returns the output of given code?
Explain enumerated types.
Tell me the use of bit field in c language?