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

What is the equivalent code of the following statement in WHILE LOOP format?

1248


#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

1677


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

1200


List the different types of c tokens?

1010


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

1044


How pointer is different from array?

1018


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

1043


Differentiate between calloc and malloc.

1223


If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above

999


What do header files do?

1019


Explain how do I determine whether a character is numeric, alphabetic, and so on?

1078


Why shouldn’t I start variable names with underscores?

1006


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

1419


Is that possible to store 32768 in an int data type variable?

1033


Subtract Two Number Without Using Subtraction Operator

781