structures c programming questions
1. The space required for structure variables is allocated on stack. A. True B. False Answer & Explanation […]
1. The space required for structure variables is allocated on stack. A. True B. False Answer & Explanation […]
1. The space required for structure variables is allocated on stack. A. True B. False Answer & Explanation
16. Which of the following statements are correct? String is a value type. String literals can contain any character literal
11. Which of the following statements about a String is correct? A. A String is created on the stack.
6. If s1 and s2 are references to two strings, then which of the following is the correct way to
1. Which of the following statements are true about the C#.NET code snippet given below? String s1, s2; s1 =
11. Which of the following statements is correct about the C#.NET code snippet given below? int[] intMyArr = {11, 3,
6. Which of the following is the correct output of the C#.NET code snippet given below? int[ , , ]
1. Which of the following statements are correct about the C#.NET code snippet given below? int[ , ] intMyArr =
11. There is no multiple inheritance in C#.NET. That is, a class cannot be derived from multiple base classes. A.
6. If a base class contains a member function func(), and a derived class does not contain a function with
1. Multiple inheritance is different from multiple levels of inheritance. A. True B. False Answer & Explanation Answer:
11. Which of the following should be used to implement a ‘Like a’ or a ‘Kind of’ relationship between two
6. What will be the output of the C#.NET code snippet given below? namespace IndiabixConsoleApplication { class Baseclass { public
1. Which of the following can be facilitated by the Inheritance mechanism? Use the existing functionality of base class. Overrride
16. What will be the output of the C#.NET code snippet given below? namespace IndiabixConsoleApplication { class Sample { static
11. Is it possible to invoke Garbage Collector explicitly? A. Yes B. No Answer & Explanation Answer: Option
6. Which of the following is the correct way to define the constructor(s) of the Sample class if we are
1. Which of the following statements is correct? A. A constructor can be used to set default values and
16. Which of the following statements is correct about classes and objects in C#.NET? A. Class is a value type.
11. Which of the following statements is correct about the C#.NET code snippet given below? int i; int j =
6. Which of the following will be the correct output for the C#.NET program given below? namespace IndiabixConsoleApplication { class
1. Which of the following statements is correct about the C#.NET code snippet given below? class Student s1, s2; //
21. What will be the output of the C#.NET code snippet given below? namespace IndiabixConsoleApplication { class SampleProgram { static
16. What will be the output of the C#.NET code snippet given below? namespace IndiabixConsoleApplication { class SampleProgram { static