Interview Question


Country: India
Interview Type: Phone Interview




Comment hidden because of low score. Click to expand.
0
of 0 vote

when a pointer points to the function and its return type is also a pointer then it is pointer to function . This concept is very useful in datastruct .

- istiyak916 August 14, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

that stores the address of a function that can later be called through that function pointer. This is useful because functions encapsulate behavior....

- gauty August 30, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

I believe Richie read this answer and got an heart attack ... :)

- xtremeCoder November 06, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

function pointer point the directly source code instead of data. it can able to access the memory address directly so, no need to search in operating system lookup table.

- mohan kumar September 20, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

LOL!

- Anonymous September 20, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Wo my god!! Please save us from such bull shitters!!

- Anonymous October 09, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

I believe Richie read this ans and got a heart attack ... :)

- xtremeCoder November 06, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Function pointers can be useful when you want to create callback mechanism, and need to pass address of an function to another function.

- Manoj June 23, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

the point of function pointer is call back or finite state machine design.

you can design a finite state machine with the help of function pointer, it is future compatible and easy to maintain.

- Anonymous December 25, 2013 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More