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

Answer Posted / yogesh bansal

Not Sure..But If the below way is correct. then yes, we can
do that

#include <stdio.h>
int main()
{
printf("this is first program\n");
int main()
{
printf("this is second program\n");
return 0;
}
main();
return 0;
}

Is This Answer Correct ?    7 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

846


Tell us bitwise shift operators?

825


Why is c known as a mother language?

988


what is stack , heap ,code segment,and data segment

2464


How can I find out if there are characters available for reading?

886


Does c have enums?

801


What are the keywords in c?

878


How can you check to see whether a symbol is defined?

846


Explain what are preprocessor directives?

841


What is the size of structure pointer in c?

837


Compare and contrast compilers from interpreters.

929


What are the features of c languages?

847


How can you draw circles in C?

871


What is the newline escape sequence?

858


What is the purpose of main( ) in c language?

905