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 _____
Discussion:
6 comments Page 1 of 1.
Parul said:
6 years ago
Thanks for the clear explanation.
Kshitij Gupta said:
6 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.
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.
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:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers