How can I invoke another program from within a C program?

Answer Posted / phani kumar s

to access one C program in another C Program
there are two ways
1.making the file .exe and accessing and
2.include the file as the preprocess header
#include"File.h"

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2557


What are valid signatures for the Main function?

946


What is the use of clrscr?

783


What is the difference between declaring a variable by constant keyword and #define ing that variable?

3001


In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.

1607


Is c is a low level language?

794


what is the significance of static storage class specifier?

1910


Should I learn c before c++?

967


Once I have used freopen, how can I get the original stdout (or stdin) back?

825


Why is c called c?

778


What is pass by reference in functions?

529


Which is the best website to learn c programming?

810


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

1011


find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

2063


Why do we use stdio h and conio h?

841