Answer Posted / kirankumaryakkala
a pointer that holds the address of a function.
in writing the interrupt service routines(isr),memory virus
programs, etc..
as simply, if u wanna execute one function out of two or
more funcitons( the selection based dynamically)
ex. int add(int a, int b)
int sub(int a, int b)
int mul(int a, int b)
int (*ptr)(int a, int b) //function pointer declaration to
hold a function that takes two integers, returns one integer
here,
ptr= it can assign any function name that is going to execute
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
while initialization of array why we use a[][2] why not a[2][]...?
Why does everyone say not to use gets?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
What is data structure in c language?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
a value that does not change during program execution a) variabe b) argument c) parameter d) none
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
Explain why can’t constant values be used to define an array’s initial size?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
How can I make it pause before closing the program output window?
What is the difference between procedural and functional programming?
What happens if you free a pointer twice?
Explain pointers in c programming?
How pointer is different from array?