Answer Posted / ramakant kisan karnekar
Pointer is a value variable it stores the address of
another variable
ex
int a=10;
int *p;
p=&x;
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
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
Can 'this' pointer by used in the constructor?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
What are the features of the c language?
What does do in c?
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
What does a pointer variable always consist of?
What is main () in c language?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
Why c is called a middle level language?
What are data structures in c and how to use them?
Why is struct padding needed?
What is a program flowchart and explain how does it help in writing a program?
Why is c so popular?
how should functions be apportioned among source files?