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
Can i use “int” data type to store the value 32768? Why?
What is structure packing in c?
What are the different types of C instructions?
Explain high-order and low-order bytes.
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
Explain what are run-time errors?
What are the salient features of c languages?
What is modeling?
Write a C program linear.c that creates a sequence of
processes with a given length. By
sequence it is meant that each created process has exactly
one child.
Let's look at some example outputs for the program.
Here the entire process sequence consists of process 18181:
Sara@dell:~/OSSS$ ./linear 1
Creating process sequence of length 1.
18181 begins the sequence.
An example for a sequence of length three:
Sara@dell:~/OSSS$ ./linear 3
Creating process sequence of length 3.
18233 begins the sequence.
18234 is child of 18233
18235 is child of 18234
........ this is coad .... BUt i could not compleate it .....:(
#include
What are the functions to open and close file in c language?
What the advantages of using Unions?
List some of the dynamic data structures in C?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.