How do you initialize function pointers? Give an example?
Answer Posted / vadivel t
Sorry the above function pointer declaration should be like
this
(*pfunc)(int, int);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can I run c program?
What is the difference between abs() and fabs() functions?
What is const volatile variable in c?
Where define directive used?
What is malloc and calloc?
What are the 4 types of functions?
What is header file definition?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
What is the advantage of a random access file?
What is assignment operator?
Explain which function in c can be used to append a string to another string?
How do you list a file’s date and time?
How is a structure member accessed?
How reliable are floating-point comparisons?
Is null always defined as 0(zero)?