Tell me when would you use a pointer to a function?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

class foo { public: static int func(const char*& p) const; }; This is illegal, why?

8 Answers   Google,


who did come first hen or agg

15 Answers   Infosys,


How to swap 3 numbers without using 4th variable?

5 Answers  


write an algorithm and a program to count the number of elements in a circularly singly linked list

1 Answers   Ignou,


Explain 'bus error'?

0 Answers  






write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a<b,printb.find the sum digits of that number & then print.if a==b multiply 10 with a & add 20 with b store in c and then print

0 Answers  


const char * char * const What is the differnce between the above tow?.

6 Answers   Ramco, TCS,


In c language can we compile a program without main() function?

0 Answers  


Can you think of a way when a program crashed before reaching main? If yes how?

2 Answers  


what is c programming?

3 Answers   TCS,


1)what is the error in the following stmt where str is a char array and the stmt is supposed to traverse through the whole character string str? for(i=0;str[i];i++) a)There is no error. b)There shud be no ; after the stmt. c)The cond shud be str[i]!='\0' d)The cond shud be str[i]!=NULL e)i shud be initialized to 1

4 Answers  


Compare array data type to pointer data type

0 Answers  


Categories