Qualcomm interview question

How do you declare function pointer, when do you use it