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 5 of 5.
Krishna said:
1 decade ago
Can you explain me the union operation?
Vineet said:
1 decade ago
can we define : char enum day[sun,mon];
Tanishka said:
1 decade ago
Can any one give the example of Union?
Shriya said:
1 decade ago
Is not enum a user defined data type?
Sony said:
1 decade ago
Could you say about enum data type.
Shan_mani said:
1 decade ago
Can you explain the enum operation?
Pradeep chandra said:
1 decade ago
Then what about string?
Rohan said:
6 years ago
How? Please explain me.
(1)
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers