| 9. | 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.
|
| 10. | How many values is a function capable of returning?
|
|||||||||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
| 11. | Which of the following statements are correct about functions used in C#.NET? 1 Function definitions cannot be nested. 2 Functions can be called recursively. 3 If we do not return a value from a function then a value -1 gets returned. 4 To return the control from middle of a function exit function should be used. 5 Function calls can be nested. |
|||||||||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
| 12. | If a function fun() is to receive an int, a Single & a double and it is to return a decimal then which of the following is the correct way of defining this function? |
|||||||||
Answer: Option C Explanation: No answer description available for this question. Let us discuss.
|
| 13. | If a procedure fun() is to receive an int, a Single & a double and it is to return a decimal then which of the following is the correct way of defining this procedure?
|
|||||||||
Answer: Option E Explanation: No answer description available for this question. Let us discuss.
|
| 14. | Which of the following statements are correct? 1 C# allows a function to have arguments with default values. 2 C# allows a function to have variable number of arguments. 3 Omitting the return value type in method definition results into an exception. 4 Redefining a method parameter in the method's body causes an exception. 5 params is used to specify the syntax for a function with variable number of arguments. |
|||||||||
Answer: Option C Explanation: No answer description available for this question. Let us discuss.
|
| 15. | What will be the output of the C#.NET code snippet given below? namespace IndiabixConsoleApplication |
|||||||
Answer: Option D Explanation: No answer description available for this question. Let us discuss.
|
| 16. | Which of the following will be the correct output for the C#.NET program given below? namespace IndiabixConsoleApplication |
|||||||||
Answer: Option D Explanation: No answer description available for this question. Let us discuss.
|
