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
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
What is preprocessor with example?
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent
program to convert a integer to string in c language'
where are auto variables stored? What are the characteristics of an auto variable?
explain how do you use macro?
When should a type cast be used?
C language questions for civil engineering
How are portions of a program disabled in demo versions?
What is the purpose of void in c?
How can I discover how many arguments a function was actually called with?
Are bit fields portable?
What is a shell structure examples?
How can I implement a delay, or time a users response, with sub-second resolution?
What is ponter?