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

Which is an example of a structural homology?

771


Write a program to generate the Fibinocci Series

654


What is identifiers in c with examples?

670


Write a program to show the change in position of a cursor using c

573


What’s a signal? Explain what do I use signals for?

599






How does struct work in c?

602


How can you increase the allowable number of simultaneously open files?

589


What are the types of variables in c?

574


How can I read/write structures from/to data files?

544


What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

736


the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function

751


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

593


what are bit fields? What is the use of bit fields in a structure declaration?

1494


I came across some code that puts a (void) cast before each call to printf. Why?

671


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4169