Consider the following C program.
#include <stdio.h>
int main() {
int i;
for (i=0;i<3;++i) {
fork();fork();
}
}
How many processes are created when running this program
(including the initial one)?
Explain
Post New Answer View All Answers
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
Can the curly brackets { } be used to enclose a single line of code?
How can I open a file so that other programs can update it at the same time?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
Write the syntax and purpose of a switch statement in C.
What is the difference between break and continue?
Explain how do you declare an array that will hold more than 64kb of data?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
What would be an example of a structure analogous to structure c?
Explain zero based addressing.
Is it valid to address one element beyond the end of an array?
What is advantage of pointer in c?
What is character constants?
What is the purpose of the statement: strcat (S2, S1)?
What is build process in c?