Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.
Login
Login
OnlineGDB Q&A
Questions
Unanswered
Tags
Ask a Question
Ask a Question
How do you declare, assign, and call a function using a pointer to a function with the signature int(int, int) in C++?
+6
votes
asked
Jun 22, 2025
by
Ayush Bhatt
(
180
points)
related to an answer for:
pointer to functions in C++
Please
log in
or register to answer this question.
1 Answer
0
votes
answered
Jun 23, 2025
by
Peter Minarik
(
101,340
points)
This should help you:
https://www.geeksforgeeks.org/cpp/function-pointer-in-cpp/
Please
log in
or register to add a comment.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...