24.what is a void pointer?
25.why arithmetic operation can’t be performed on a void
pointer?
26.differentiate between const char *a; char *const a;
and char const *a;
27.compare array with pointer?
28.what is a NULL pointer?
29.what does ‘segmentation violation’ mean?
30.what does ‘Bus Error’ mean?
31.Define function pointers?
32.How do you initialize function pointers? Give an example?
33.where can function pointers be used?
Answer Posted / abhijit
http://www.c4learn.com/illegal-arithmetic-operations-with-pointer.html
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is pointer to pointer in c?
Explain what are linked list?
Can you write the algorithm for Queue?
What is a nested loop?
What are the 4 types of organizational structures?
In c programming language, how many parameters can be passed to a function ?
Does c have class?
What is variable and explain rules to declare variable in c?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
What does != Mean in c?
What are the salient features of c languages?
what is the syallabus of computer science students in group- 1?
What are conditional operators in C?
Why c is called procedure oriented language?
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