Answers for "which is not an integer data type? c++"

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
0

how to know datatype of something in c++

int k;
cout << typeid(k).name() << endl;
Posted by: Guest on January-10-2021

Browse Popular Code Answers by Language