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 to write optimum code to divide a 50 digit number with a 25 digit number??
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
Explain the bubble sort algorithm.
Write a program to print "hello world" without using a semicolon?
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
What is the usage of the pointer in c?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
What is the difference between array and structure in c?
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
How can you convert integers to binary or hexadecimal?
Why pointers are used in c?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
What is the use of bit field?
What is a void pointer? When is a void pointer used?
Why flag is used in c?