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


Please Help Members By Posting Answers For Below Questions

I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

756


What is void pointers in c?

765


Do you know the use of fflush() function?

795


What is a header file?

820


Explain which function in c can be used to append a string to another string?

821


What is function prototype in c with example?

759


What is an array in c?

771


Can we access array using pointer in c language?

835


What does & mean in scanf?

820


What are the ways to a null pointer can use in c programming language?

844


I have a varargs function which accepts a float parameter?

783


How do you define structure?

778


What are different types of pointers?

762


What is sizeof return in c?

784


The __________ attribute is used to announce variables based on definitions of columns in a table?

937