datatypes c programing questions

16.

Which of the following statements are correct about datatypes in C#.NET?

Every datatype is either a value type or a reference type.
Value types are always created on the heap.
Reference types are always created on the stack.
Mapping of every value type to a type in Common Type System facilitates Interoperability in C#.NET.
Every reference type gets mapped to a type in Common Type System.

A.     1, 3
B.     2, 5
C.     1, 4
D.     3, 4
Answer & Explanation

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.
View Answer Workspace Report Discuss in Forum
17.

Which of the following is the correct default value of a Boolean type?
A.     0     B.     1
C.     True    D.     False
E.     -1
Answer & Explanation

Answer: Option D

Explanation:

No answer description available for this question

Leave a Reply0

Your email address will not be published.