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
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
What is FIFO?
What is a pointer and how it is initialized?
What is the use of the function in c?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
Explain how can you tell whether a program was compiled using c versus c++?
#include
Explain what does it mean when a pointer is used in an if statement?
What is static and volatile in c?
Write the syntax and purpose of a switch statement in C.
what are non standard function in c
How many bytes is a struct in c?
What does %p mean c?
How the c program is executed?
What is New modifiers?