Home / MCQ Bank / Computer
Computer Plus Plus Miscellaneous

Which header is need to be used with function objects?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • <functional>

Related Computer Questions

A distributed network configuration in which all data/information pass through a central computer is Sequential file organization is most appropriate for which of the following applications? Which of the following are the features of jQuery? Say we have two compare two strings which of the following function/functions can you use? 1. strcmp() 2. strcasecmp() 3. strspn() 4. strcspn() What will be the output of the following C++ code? #include <iostream> using namespace std; int f(int &x, int c) { c = c - 1; if (c == 0) return 1; x = x + 1; return f(x, c) * x; } int main(int argc, char const *argv[]) { int a = 4; cout<<f(a,a); return 0; }