Answers for "how to declare variables in c++ datatype int"

C++
10

Data Types in C++

Data types in c++
	Built-in                User Defined            Derived
    ----------              -----------             ------------
    void, int,			    structure,              array,
	char, float,		    union,					function,
    double, bool,		    enum,					pointer,
    long long			    class,					reference
    Wide Character		    typedef
Posted by: Guest on April-30-2021
0

c++ variable type

// Example
std::cout << "Data-type = " << typeid(YourVariable).name() << "n";
  
// Syntax
typeid(YourVariable).name()
Posted by: Guest on May-05-2021

Browse Popular Code Answers by Language