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 / yogesh bansal

Not Sure..But If the below way is correct. then yes, we can
do that

#include <stdio.h>
int main()
{
printf("this is first program\n");
int main()
{
printf("this is second program\n");
return 0;
}
main();
return 0;
}

Is This Answer Correct ?    7 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c language still used?

1044


What are identifiers in c?

1238


Why main is not a keyword in c?

1312


What is the difference between exit() and _exit() function?

1097


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

2045


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

1116


What is memory leak in c?

1172


What is the purpose of & in scanf?

1120


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1734


Calculate 1*2*3*____*n using recursive function??

2095


Write a Program to accept different goods with the number, price and date of purchase and display them

6296


What is adt in c programming?

1224


What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

1222


What is data structure in c language?

1160


What does the c in ctime mean?

1158