data types in c++

// Integer types
int integerVariable;
short shortIntegerVariable;
long longIntegerVariable;
long long longLongIntegerVariable;

// Floating-point types
float floatVariable;
double doubleVariable;
long double longDoubleVariable;

// Character types
char charVariable;

// Boolean type
bool boolVariable;

// Void type
void functionReturningVoid();

// Pointer types
int* integerPointer;
char* charPointer;
double* doublePointer;