what is the advantage of function pointer
Answer Posted / nupur
It is used to return more than one value to at a time to
the main program thus overcome the limitation of returnalso
it is used to change the value of the actual argument in
the called function which is otherwise not possible.
| Is This Answer Correct ? | 13 Yes | 5 No |
Post New Answer View All Answers
What are the application of c?
What is difference between structure and union with example?
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
Which control loop is recommended if you have to execute set of statements for fixed number of times?
How do you sort filenames in a directory?
What is %g in c?
Explain how do you print only part of a string?
What is the significance of c program algorithms?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
Why is it usually a bad idea to use gets()? Suggest a workaround.
What is the heap?
How can I determine whether a machines byte order is big-endian or little-endian?
What does dm mean sexually?
How can a process change an environment variable in its caller?