Answers for "how to check data type in c++ in string"

C++
5

how to check datatype of a variable in c++

#include <typeinfo>
...
cout << typeid(variable).name() << endl;
Posted by: Guest on May-29-2020

Browse Popular Code Answers by Language