what is a function pointer and how all to declare ,define
and implement it ???
Answer Posted / swagatika
function pointer is function returning a pointer
Example-
int *sum(int a, int b)
{
int x;
x= a+b;
return &x;
}
but the pointer to a function means a function interm of
pointer pointing to the another function.
int (*sum)(sum1);//pointer to a function
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain 'bus error'?
What does d mean?
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
How can I implement a delay, or time a users response, with sub-second resolution?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
Explain which function in c can be used to append a string to another string?
What is spark map function?
What is maximum size of array in c?
Why do we need volatile in c?
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
write a program to print largest number of each row of a 2D array
When should structures be passed by values or by references?
What is .obj file in c?
What is c mainly used for?
How can you determine the size of an allocated portion of memory?