float f(int);
class Obj
{
public:
static const int temp1 = 7; // 1
static int temp2 = 11; // 2
const int temp3 = 13; // 3
static const int temp4 = f(17); // 4
static const float temp5 = 7.0 // 5
};
I checked the third line. The code compiles and runs without errors.
2022 Sep 19, 8:04:43 AM
Login in to like
Login in to comment