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 / vinay kashyap

may be using the preprocessor directives.. like..

#include "prog1.c"
#include<stdio.h>
int main()
{
.
.
.
.
}

Is This Answer Correct ?    15 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is null defined in c?

1150


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

1759


Do you have any idea about the use of "auto" keyword?

1077


What are variables and it what way is it different from constants?

1237


How does selection sort work in c?

1029


Is c still relevant?

1076


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

2063


What is a pragma?

1121


Define circular linked list.

1023


What is operator precedence?

1198


Process by which one bit pattern in to another by bit wise operation is?

1153


In which header file is the null macro defined?

1341


What is a keyword?

1164


What is meant by keywords in c?

1068


When should the const modifier be used?

1099