Loading practice questions
What will be the output of the following C++ code
#include
#include
using namespace std;
int main()
{
float val = 5. any var(val);
cout<<var.type().name()<<endl;
return}
Correct Answer: A — Pkc
Explanation:
type() function is used to check the type of data/value the container object is holding.