a) Separation of interface from implementation b) Merging of interface from implementation c) Separation of interface from debugging d) Merging of interface from debugging
Gkbix Latest Questions
x = f(arg1, arg2); where f is a functor and arg1 and arg2 are the arguments required by the functors? a) f.call(arg1, arg2); b) f.operator()(arg1, arg2); c) f.operator(arg1, arg2); d) f.operator(arg1, arg2)();
a) logical_not<T> f; b) logical_and<T> f; c) logical_or<T> f; d) negate<T> f;
a) logical_or<T> f; b) logical_and<T> f; c) logical_not<T> f; d) negate<T> f;
a) 1 b) 2 c) 3 d) 4
a) Functors that accepts only one parameter b) Functors that accepts two parameters c) Functors that accepts more than one parameters d) Functors that accepts other than a specific type of parameter
a) <any> b) <fucntional> c) <functor> d) <function>
a) mltiplication<T> f(a1, a2); b) add<T> f(a1, a2); c) subtract<T> f(a1, a2); d) plus<T> f(a1, a2);
a) Functors should not be declared outside the main function b) Overloaded operator () function is not a member of the class c) Functors should be declared global d) Functors have a state
a) return_type operator(arguments)(); b) return_type operator(arguments); c) return_type operator()(arguments); d) return_type operator(Class_name)(arguments);