Can we include one C program into another C program if yes how?

Answer Posted / amegha

can include another file by using preprocessor directive.
#include<program1.c>
#include<stdio.h>
main()
{
-----
-----
}

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of putchar function?

854


What is an lvalue in c?

906


What does %2f mean in c?

989


Write a program to print “hello world” without using semicolon?

905


we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?

1048


How can you find out how much memory is available?

828


What are the disadvantages of a shell structure?

972


Is register a keyword in c?

843


What is file in c preprocessor?

908


What extern c means?

754


Should I learn c before c++?

989


What is wrong with this program statement?

806


What is the use of getchar functions?

946


What is the difference between malloc calloc and realloc in c?

907


Explain argument and its types.

810