logo

Crowdly

Browser

Додати до Chrome

BCSE102L Structured and Object-Oriented Programming (Theory) Winter 2024-25 (B2) [VL2024250501473]

Шукаєте відповіді та рішення тестів для BCSE102L Structured and Object-Oriented Programming (Theory) Winter 2024-25 (B2) [VL2024250501473]? Перегляньте нашу велику колекцію перевірених відповідей для BCSE102L Structured and Object-Oriented Programming (Theory) Winter 2024-25 (B2) [VL2024250501473] в moovit.vit.ac.in.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

Identify the correct range of signed char.

1.-256 to 255

2. 0 to 255

3. 0 to 128

4.-128 to 127

0%
0%
0%
0%
Переглянути це питання

What is the ASCII value of ‘\0’ character?

1.75

2.97

3.120

4.0

0%
0%
0%
100%
Переглянути це питання

Which of the following shows multiple inheritances?

a) A->B->C

b) A->B; A->C

c) A,B->C

d) B->A

0%
0%
0%
0%
Переглянути це питання

Which members are inherited but are not accessible in any case?

a) Private

b) Public

c) Protected

d) Both private and protected

0%
100%
0%
0%
Переглянути це питання

Which of the following is called address operator?

a) *

b) &

c) _

d) %

100%
0%
0%
0%
Переглянути це питання

Which of the following is the correct identifier?

  1. $var_name
  2. VAR_123
  3. varname@
  4. None of the above

0%
0%
0%
100%
Переглянути це питання

#include <iostream>  

using namespace std;  

class A{  

public:  

    A(){  

        cout<<"Constructor called\n";  

       }  

    ~A(){  

        cout<<"Destructor called\n";  

        }   

};  

int main(int argc, char const *argv[])  

{  

    A *a = new A[5];  

    delete[] a;  

    return 0;  

}  

  1. Segmentation failure.
  2. Error.
  3. The Constructor will be invoked five times, and after that destructor will be invoked only once.
  4. The Constructor will be invoked five times, and after that destructor will also be invoked five times.

0%
0%
0%
0%
Переглянути це питання

 What are the actual parameters in C++?

a) Parameters with which functions are called

b) Parameters which are used in the definition of a function

c) Variables other than passed parameters in a function

d) Variables that are never used in the function

0%
0%
0%
0%
Переглянути це питання

Which of the following feature of OOPs is not used in the following C++ code?

class A

{

int i;

public:

void print(){cout<<"hello"<<i;}

}

 

class B: public A

{

int j;

public:

void assign(int a){j = a;}

}

a) Abstraction

b) Encapsulation

c) Inheritance

d) Polymorphism

0%
0%
100%
0%
Переглянути це питання

Image failed to load

0%
0%
0%
0%
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на moovit.vit.ac.in?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome