C# Programming - Datatypes
Exercise : Datatypes - General Questions
- Datatypes - General Questions
1.
Which of the following statements are correct about data types?
- If the integer literal exceeds the range of byte, a compilation error will occur.
- We cannot implicitly convert non-literal numeric types of larger storage size to byte.
- Byte cannot be implicitly converted to float.
- A char can be implicitly converted to only int data type.
- We can cast the integral character codes.
2.
Which of the following is an 8-byte Integer?
3.
Which of the following is NOT an Integer?
4.
Which of the following statements is correct?
5.
Which of the following are value types?
- Integer
- Array
- Single
- String
- Long
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers