Object Oriented Programming Using C Plus Plus MCQ
Test your knowledge with important Object Oriented Programming Using C Plus Plus MCQ and their applications. These MCQs are beneficial for competitive exams too. Explore 30+ more Object Oriented Programming Using C Plus Plus MCQs on Bissoy. Bissoy App
-
A child class _____ exist if there is no parent class
-
Which of the following is a string literal constant?
-
The loosest type of coupling is
-
Which of the following type casts will convert an Integer variable named amount to a Double type?
-
The body of a C++ function is surrounded by _____
-
The statement fwrite ( (char*)&objl, sizeof(objl) );
-
Assume that a program creates and initializes a Short Integer variable named age and a pointer named agePtr, to which it assigns the address of the age variable. Which of the following statements will assign the number 21 to the age variable?
-
Two or more arrays whose elements are related by their position (subscript) in the arrays are called _____ arrays
-
Which of the following flowchart symbols represents the if selection structure?
-
Values that are used to end loops are referred to as _____ values
-
In C++, you use _____ to perform standard input and output operations
-
Which of the following operators is the equality operator?
-
The standard output stream, which refers to the computer screen, is called
-
You define a structure type globally because
-
Object-oriented programmers primarily focus on _________
-
In a template function, _____ argument is generic, or parameterized
-
In the expression p → val, p is a(n)
-
Variables that are known only to the function in which they are declared are called _____ variables
-
The main() function is always
-
Which of the following statements declares a one-dimensional Character array named item that consists of five elements?
-
In the C language, a string is assigned to the
-
A default exception block must be placed _____
-
The bitwise AND operator is represented by the symbol
-
Which of the following creates a String named constant called partNo, whose value is AB45?
-
An identifier in C
-
The expression c = i++ causes
-
Which of the following are never inherited?
-
Assume that a program includes the short *agePtr = NULL; statement. The name of the pointer is _____
-
The type of value that a function sends back to the function that calls it is known as its _____
-
With commercial classes, the function source code is usually________