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 are extern variables in c?

543


Tell us something about keyword 'auto'.

659


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1251


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

1648


What is bin sh c?

576






Explain is it valid to address one element beyond the end of an array?

729


What is n in c?

569


Stimulate calculator using Switch-case-default statement for two numbers

2442


Why static is used in c?

616


What is string constants?

655


What does c mean before a date?

585


Explain what are preprocessor directives?

621


What are the storage classes in C?

619


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

805


Why header file is used in c?

571