Computer Science, asked by rakshith469, 3 months ago

Explain basic data type in C++.​

Answers

Answered by raniposhi
2

Answer:

Built in data types

char: For characters. Size 1 byte.

int: For integers. Size 2 bytes.

float: For single precision floating point. Size 4 bytes.

double: For double precision floating point. Size 8 bytes.

bool: For booleans, true or false.

wchar_t: Wide Character.

Answered by mr9080754
0

Answer:

Data Type Meaning Size (in Bytes)

int Integer 2 or 4

float Floating-point 4

double Double Floating-point 8

char Character 1

wchar_t Wide Character 2

bool Boolean 1

void Empty 0

Similar questions