According to the C++23 standard, what is the output of this program?
#include <iostream>
void f(float) { std::cout << 1; }
void f(double) { std::cout << 2; }
int main() {
f(2.5);
f(2.5f);
}What is the type of a floating point literal?
21
The type of a floating point literal is double.