Answers for "print data type of a variable in c++"

C++
1

print data type of a variable in c++

int x = 5;
typeid(x).name();
//output: i
// i stands for int
Posted by: Guest on September-11-2020

Code answers related to "print data type of a variable in c++"

Browse Popular Code Answers by Language