| 1. | What will be the output of the C#.NET code snippet given below? namespace IndiabixConsoleApplication |
|||||||||
Answer: Option C Explanation: No answer description available for this question. Let us discuss.
|
| 2. | Which of the following statements are correct about the C#.NET program given below? namespace IndiabixConsoleApplication 1 An error will be reported in the statement s, c = fun(a); since multiple values returned from a function cannot be collected in this manner. 2 It will output 25 125. 3 It will output 25 0. 4 It will output 0 125. 5 An error will be reported in the statement return ss, cc; since a function cannot return multiple values. |
|||||||||
Answer: Option D Explanation: No answer description available for this question. Let us discuss.
|
| 3. | A function can be used in an expression, whereas a subroutine cannot be.
|
|||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
| 4. | Which of the following statements are correct about subroutines used in C#.NET? 1 If we do not return a value from a subroutine then a value -1 gets returned. 2 Subroutine definitions cannot be nested. 3 Subroutine can be called recursively. 4 To return the control from middle of a subroutine exit subroutine should be used. 5 Subroutine calls can be nested. |
|||||||||
Answer: Option B Explanation: No answer description available for this question. Let us discuss.
|
| 5. | If a function fun() is to sometimes receive an int and sometimes a double then which of the following is the correct way of defining this function? |
|||||||||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
| 6. | What will be the output of the C#.NET code snippet given below? namespace IndiabixConsoleApplication |
|||||||||
Answer: Option E Explanation: No answer description available for this question. Let us discuss.
|
| 7. | Which of the following CANNOT occur multiple number of times in a program?
|
|||||||||
Answer: Option B Explanation: No answer description available for this question. Let us discuss.
|
| 8. | How many values is a subroutine capable of returning?
|
|||||||||
Answer: Option D Explanation: No answer description available for this question. Let us discuss.
|
