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

Discussion Forum : Object Oriented Programming Using C++ - Section 2 (Q.No. 5)
5.
A fundamental type such as int or double is a _____
programmer-defined type
complex type
nonscalar type
scalar type
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
6 comments Page 1 of 1.

Parul said:   5 years ago
Thanks for the clear explanation.

Kshitij Gupta said:   5 years ago
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.
(2)

Ravi said:   1 decade ago
A fundamental type such as int or double is a PREDEFINED Type and NOT USER DEFINED.

So,

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.
(1)

Arvind kumar said:   1 decade ago
Why it is scalar type?

Shruti said:   1 decade ago
What is meant by scalar type?

Janu said:   1 decade ago
Can anyone say what is scaler type?

Post your comments here:

Your comments will be displayed after verification.