Constants MCQ with Answers PDF Download eBook - 41
Solve Constants multiple choice questions and answers PDF, constants quiz answers PDF to learn web development worksheet 41 for online mock test. Practice Flow Control quiz questions, constants Multiple Choice Questions (MCQ) to solve c sharp test with answers for online computer science degree. Free constants MCQs, string, variable naming, delegates, advanced topics in c sharp, constants test prep for programming certifications.
"Choose an error free code (i) const int intTwo = 2; (ii) const int intTwo; intTwo = 2;", constants Multiple Choice Questions (MCQ) with choices (ii), (i), and none of them is valid for information technology certificate programs. Learn flow control questions and answers with free online certification courses for IT certifications.
Constants Questions and Answers PDF Download eBook 41
MCQ: Choose an error free code (i) const int intTwo = 2; (ii) const int intTwo; intTwo = 2;
- (i)
- (ii)
- both a and b
- none of them is valid
A
MCQ: Which among the given classes is present in System.Collection.Generic.namespace
- stack
- tree
- sorted array
- array
A
MCQ: The correct statement about delegate declaration is <br/> <code> delegate void del(int i); </code>
- On declaring the delegate a class called del will get created.
- The del class will be derived from the Multicast Delegate class.
- The del class will contain a one-argument constructor and an lnvoke() method.
B
MCQ: Choose a valid syntax for naming a variable in C#
- <VarName> <DataType>;
- <VarName> <DataType>
- <VarName>:<DataType>
- <DataType> <VarName>;
D
MCQ: Which of the following function sets first n characters of a string to a given character
- strinit()
- strnset()
- strset()
- strcset()
B