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
When the macros gets expanded?
What are the usage of pointer in c?
How can I swap two values without using a temporary?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
How do I round numbers?
What is spaghetti programming?
What is strcpy() function?
Explain argument and its types.
what do you mean by inline function in C?
Why doesnt long int work?
Can we declare variable anywhere in c?
What is a void pointer in c?
Why is it usually a bad idea to use gets()? Suggest a workaround.
Array is an lvalue or not?
What are dangling pointers in c?