What kind of functions are min and max in c++?

What kind of functions are min and max in c++?
A. Type specific
B. Variable specific
C. Type & Variable specific
D. Iterator
 
Answer: a
Explanation: The min/max functions are type specific but they will not force everything to be converted to/from floating point. The functions that will force everything to be converted to/from floating point are fmin/fmax.
 

Tìm kiếm

Back
Top