declare afunction pointer to int printf(char *)?
Answer Posted / sunil singh
the function pointer to an int printf(char *) will be:
int (*ptr)(char*);
Now you can assign the function address to the pointer to a
function.
ptr = printf;
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What is pointer to pointer in c?
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..
What is meant by gets in c?
How can I find out if there are characters available for reading?
What is ctrl c called?
What are structure types in C?
Why isnt any of this standardized in c?
What is file in c language?
What is huge pointer in c?
What is the difference between new and malloc functions?
What is wrong with this code?
Which is best book for data structures in c?
Explain what is the advantage of a random access file?
What are reserved words with a programming language?
What are the disadvantages of external storage class?