Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

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

1389


What is FIFO?

1839


What is a pointer and how it is initialized?

1228


What is the use of the function in c?

1068


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.

2281


Explain how can you tell whether a program was compiled using c versus c++?

1144


#include { printf("Hello"); } how compile time affects when we add additional header file .

1939


Explain what does it mean when a pointer is used in an if statement?

1105


What is static and volatile in c?

1263


Write the syntax and purpose of a switch statement in C.

1150


what are non standard function in c

1969


How many bytes is a struct in c?

1213


What does %p mean c?

1117


How the c program is executed?

1196


What is New modifiers?

1185