Answers for "how to declare a variable of any type c++"

C++
0

c++ variable type

// Example
std::cout << "Data-type = " << typeid(YourVariable).name() << "n";
  
// Syntax
typeid(YourVariable).name()
Posted by: Guest on May-05-2021

Code answers related to "how to declare a variable of any type c++"

Browse Popular Code Answers by Language