what is the advantage of function pointer
Answer Posted / chikani sagar
TO implement call back functions......It is more efficient.
code complexity will be redused.....
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is volatile variable in c?
What does the && operator do in a program code?
Explain about block scope in c?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
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
What is the right type to use for boolean values in c?
What is switch in c?
where are auto variables stored? What are the characteristics of an auto variable?
How to explain the final year project as a fresher please answer with sample project
How do I get an accurate error status return from system on ms-dos?
How do I swap bytes?
Differentiate between a structure and a union.
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
What is the difference between far and near ?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25