Explore topic-wise MCQs in C# Questions & Answers Initialization of Variables.

This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your C# Questions & Answers Initialization of Variables knowledge and support exam preparation. Choose a topic below to get started.

1.

DIFFERENCE BETWEEN KEYWORDS VAR AND DYNAMIC ?

A. Var is introduced in C# (3.0) and Dynamic is introduced in C# (4.0)
B. Var is a type of variable where declaration is done at compile time by compiler while Dynamic declaration is achieved at runtime by compiler
C. For Var Error is caught at compile time and for Dynamic Error is caught at runtime
D. All of the mentioned
Answer» E.
2.

Storage location used by computer memory to store data for usage by an application is?

A. Pointers
B. Constants
C. Variable
D. None of the mentioned
Answer» D. None of the mentioned