Skip to content

Latest commit

 

History

History

54

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Exercise 6.54

Write a declaration for a function that takes two int parameters and returns an int, and declare a vector whose elements have this function pointer type.

Solution

int f(int, int);
std::vector<int (*)(int, int)> vec;