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

Answers were Sorted based on User's Feedback



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

Answer / phani kumaer

just making the file name as preprocessor header file
and add this tag into the necessary program block
#include"Filename.h"

Is This Answer Correct ?    12 Yes 2 No

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

Answer / jai sundar

Just include tha other file name
#include "Filename.c" .

Is This Answer Correct ?    3 Yes 0 No

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

Answer / phani kumar s

by using the proprocessor directive notation.
convert ur program as .h file.

or
use the files with functions.

Is This Answer Correct ?    6 Yes 4 No

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

Answer / srinivas

Just use system() call
like
system(test.exe);
the above statement when executed will executes test.exe and
returns when test.exe finishes its executions./.

Is This Answer Correct ?    3 Yes 3 No

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

Answer / sharath

please can any one give an example program for this question



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

Is This Answer Correct ?    0 Yes 0 No

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

Answer / vamshi

simply use
#include<file_name.exe>.
the file with appropriate extention.

Is This Answer Correct ?    1 Yes 3 No

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

Answer / 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

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

Answer / vrushali

I think the second solution works .. need to check....

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More C Interview Questions

Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff

0 Answers  


a program that can input number of records and can view it again the record

0 Answers   Accenture,


What is the advantage of c?

0 Answers  


What is the output of printf("%d", printf("Hello"));?

1 Answers  


what is differnence b/w macro & functions

1 Answers  






How can we allocate array or structure bigger than 64kb?

2 Answers   CSC,


Write a program to generate prime factors of a given integer?

9 Answers   Microsoft,


Describe for loop and write a c program to sum the series X + x2/2! + x3 /3! + …….. up to fifteen terms.

2 Answers  


Write a c program to demonstrate character and string constants?

0 Answers  


Are bit fields portable?

0 Answers   EXL,


What is variable and explain rules to declare variable in c?

0 Answers  


what do u mean by Direct access files? then can u explain about Direct Access Files?

0 Answers   LG Soft,


Categories