Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

get type of variable in c++

auto a = 10;
cout << typeid(a) << endl;
 
PREVIOUS NEXT
Tagged: #type #variable
ADD COMMENT
Topic
Name
5+3 =