C Programming - Declarations and Initializations - Discussion
Discussion Forum : Declarations and Initializations - General Questions (Q.No. 7)
7.
Which of the following is not user defined data type?
1 : |
|
2 : |
|
3 : |
|
Answer: Option
Explanation:
C data types classification are
- Primary data types
- int
- char
- float
- double
- void
- Secondary data types (or) User-defined data type
- Array
- Pointer
- Structure
- Union
- Enum
So, clearly long int l = 2.35; is not User-defined data type.
(i.e.long int l = 2.35; is the answer.)
Discussion:
48 comments Page 4 of 5.
Mayu said:
1 decade ago
Then what is "long int l = 2.35;" data type called ?
Sivaraman said:
1 decade ago
How to identify user-defined data type? Give example.
Siddharth said:
1 decade ago
Is enum a user defined or derived data type or both?
Ayana said:
1 decade ago
String belongs to array. Its array of characters.
Bhujbal said:
1 decade ago
The answer should be 1 and 2 both more precisely.
Sachin10'R said:
1 decade ago
What is difference between typedef and enum?
(1)
Roko said:
1 decade ago
How can we implement it to the programming?
Abhi said:
9 years ago
In 1, which is user-defined the data type.
Krishna said:
1 decade ago
Which is the nonprimitive datatype in c++?
Kavitha said:
1 decade ago
What is meant by user defined data type?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers