5. What is displayed by the following program after the call to execl?


#include
#include

int main()
{
if (fork() == 0)
execl("prog.exe", "prog.exe", NULL);

cout << "After execl" << endl;

return 0;
}

a. The parent process will display "After execl"
b. The child process will display "After execl"
c. Neither the parent process nor the child process will display "After execl"
d. The program does not create a child process
e. Both the parent process and child process will display "After execl"


a. The parent process will display "After execl"

Computer Science & Information Technology

You might also like to view...

What is tethering?

What will be an ideal response?

Computer Science & Information Technology

The wrap text feature in Excel:

A) enables data to appear on two or more lines within a cell. B) enables long formulas to wrap to two or more lines within a single cell. C) is most useful with very short titles or column headings. D) can be downloaded as an add-on to Excel 2013.

Computer Science & Information Technology

An option that directs Access to automatically update all foreign key values in a related table when the primary key value is modified in a primary table.

What will be an ideal response?

Computer Science & Information Technology

The default server name for SQL Express is (LocalDB)\v11.0.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology