Check out example codes for "print data type of a variable in c++". It will help you in understanding the concepts better.

Code Example 1

int x = 5;
typeid(x).name();
//output: i
// i stands for int

Code Example 2

typeid(variable).name()

Learn ReactJs, React Native from akashmittal.com