How can I invoke another program from within a C program?
Answer Posted / 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 |
Post New Answer View All Answers
What is a stream?
What do you understand by friend-functions? How are they used?
What do you mean by dynamic memory allocation in c?
Do you know null pointer?
Is there any data type in c with variable size?
What is calloc()?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
Write programs for String Reversal & Palindrome check
Here is a neat trick for checking whether two strings are equal
Why is %d used in c?
What is clrscr ()?
Is c is a middle level language?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
Why c is faster than c++?
What is nested structure in c?