What will be the output of the following C++ code?
#include<iostream>
#include<any>
using namespace std;
int main()
{
float val = 5.5;
any var(val);
cout<<var.type().name()<<endl;
return 0;
}
#include<iostream>
#include<any>
using namespace std;
int main()
{
float val = 5.5;
any var(val);
cout<<var.type().name()<<endl;
return 0;
}A. f
B. d
C. Pkc
D. u
Answer: Option A

Join The Discussion