Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

how to get the type of a variable in c++

int a = 5;
cout << typeid(a).name() << endl;
Source by www.flatech.com.au #
 
PREVIOUS NEXT
Tagged: #type #variable
ADD COMMENT
Topic
Name
4+5 =