Answer Posted / hardeep singh
this question is wrong. array name should be in small
letter.because c and c++ are case senstive.
| Is This Answer Correct ? | 0 Yes | 8 No |
Post New Answer View All Answers
Is c high or low level?
What is scope rule of function in c?
what is the difference between 123 and 0123 in c?
Is multithreading possible in c?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
please give me some tips for the placement in the TCS.
What are the valid places to have keyword “break”?
When can you use a pointer with a function?
what is recursion in C
Do you know what are bitwise shift operators in c programming?
Explain what is a program flowchart and explain how does it help in writing a program?
What is non linear data structure in c?
please explain every phase in the "SDLC" in the dotnet.
What are the different properties of variable number of arguments?
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