Computer Science - Object Oriented Programming Using C++ - Discussion


A fundamental type such as int or double is a _____

[A]. programmer-defined type
[B]. complex type
[C]. nonscalar type
[D]. scalar type

Answer: Option D


No answer description available for this question.

Janu said: (Nov 11, 2011)  
Can anyone say what is scaler type?

Shruti said: (Sep 26, 2012)  
What is meant by scalar type?

Arvind Kumar said: (Mar 13, 2013)  
Why it is scalar type?

Ravi said: (Nov 15, 2013)  
A fundamental type such as int or double is a PREDEFINED Type and NOT USER DEFINED.


A. Programmer-defined type :"NO" because programmer-defined meas user defined.

B. Complex type: "NO" because there is nothing complex in definition.

C. Nonscalar type: "NO" because nonscalar means Vector and vector means directions, which are not required while definition.

D. Scalar type: "YES" because we define values without direction. So this is answer.

Kshitij Gupta said: (Jun 27, 2019)  
The data types like char, int, short long, float, and double are called scalar data types because they hold a single data item.

Whereas, data types like arrays, maps are compound as they contain multiple values.

Parul said: (Sep 30, 2019)  
Thanks for the clear explanation.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.