Answers for "type the type of a variable in cpp"

C++
2

get type of variable in c++

auto a = 10;
cout << typeid(a) << endl;
Posted by: Guest on December-16-2021
0

define a type in c++

typedef [type] [name_of variable]
Posted by: Guest on December-20-2021

Code answers related to "type the type of a variable in cpp"

Browse Popular Code Answers by Language