Answers for "print type of a variable string cpp"

C++
2

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 type of a variable string cpp"

Browse Popular Code Answers by Language