what is the advantage of function pointer
Answer Posted / vidhya
It is more efficient. So it mostly used in real type
application.
The use of pointer is to store address location of a
variable or a function.as similar we are storing a variable
address in a pointer variable and refering it ,we can store
the address of a function in pointer variable.
Is This Answer Correct ? | 12 Yes | 6 No |
Post New Answer View All Answers
What is integer constants?
what is the role you expect in software industry?
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
What are void pointers in c?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
What are 3 types of structures?
What is double pointer in c?
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
What is the difference between #include and #include 'file' ?
What is keyword with example?
what is a function method?give example?
State the difference between realloc and free.
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
c language interview questions & answer
What is the maximum length of an identifier?