Answer | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Answer

the answers are bool, > and return the return statement returns true or false which is of bool datatype

27th Feb 2017, 7:41 AM
ODUKOYA JESUSEYITAN
ODUKOYA JESUSEYITAN - avatar
1 Answer
0
bool operator >(const Obj & a, const Obj & b){ return a.compVal > b.compVal; } this is c++
28th Feb 2017, 6:55 AM
Michael Szczepanski
Michael Szczepanski - avatar