Computer Science, asked by kolesangita, 1 month ago

Which one of the following is not a fundamental data type?

int
String
float
double

Answers

Answered by mahatoaman202
0

Answer:

double

Explanation:

.plese mark as brainlist

Answered by RitaNarine
0

String is not a fundamental data type.

option B is the correct answer.

  • In C++, a string is not a fundamental data type.
  • The three kinds of fundamental types in C++ are integral, floating point, and void.
  • Whole numbers can be handled by integral types. It is possible to describe values with potential fractional parts using floating point types.
  • Double is more accurate than float and can store 64 bits, which is twice as many bits as float. For storing really large values, we prefer double over float because double is more precise. For instance, twice will be a more correct choice to store the CEO of a company's annual compensation.
  • Double is a double-precision floating point number, whereas int is a binary representation of a whole number. The short explanation is that double needs eight bytes of RAM and Int uses four bytes (and cannot contain a decimal).

option B is the correct answer.

String is not a fundamental data type.

Links to similar questions:

What are the two internal subtypes of string data type in python?

https://brainly.in/question/7774040

#SPJ2

Similar questions