Explanation: Bjarne Stroustrup is the original creator of C++ in 1979 at AT&T Bell Labs.
Which of the following is used for comments in C++?
Explanation: Both the ways are used for commenting in C++ programming. // is used for single line comments and /* … */ is used for multiple line comments.
Which of the following is not a type of Constructor in C++?
Explanation: Friend function is not a constructor whereas others are a type of constructor used for object initialization.
Which of the following type is provided by C++ but not C?
Explanation: C++ provides the boolean type to handle true and false values whereas no such type is provided in C.
Which of the following correctly declares an array in C++
Explanation: Because array variable and values need to be declared after the datatype only.
What is the size of wchar_t in C++?
Explanation: Compiler wants to make CPU as more efficient in accessing the next value.
Which is more effective while calling the C++ functions?
Explanation: In the call by reference, it will just passes the reference of the memory addresses of passed values rather than copying the value to new memories which reduces the overall time and memory use.
Which of the following is used to terminate the function declaration in C++?
Explanation: ; semicolon is used to terminate a function declaration statement in C++.
What is Inheritance in C++?
Explanation: Inheritance is the concept of OOPs in which new classes are derived from existing classes in order to reuse the properties of classes defined earlier.
Which of the following symbol is used to declare the preprocessor directives in C++?
Explanation: # symbol is used to declare the preprocessor directives.
What is meant by a polymorphism in C++?
Explanation: Polymorphism is literally meant class having many forms.
What is abstract class in C++?
Explanation: An abstract class is defined as a class which is specifically used as a base class. An abstract class should have atleast one pure virtual function.
Which of the following shows multiple inheritances?
Explanation: In multiple inheritance, a single class is inherited from two classes. So in A,B->C, Class C is inherited from A and B, whereas in A->B->C, C from B and B from A called simple inheritance, in A->B; A->C, B and C are inherited from A which is called hierarchical inheritance.
How many types of user-defined data type are in c++?
Explanation: There are three types of user-defined data types. They are typedef, union, enumerator.
Is bool a fundamental data type in C++?
Explanation: C++ has bool as a fundamental data type.
How many characters are specified in the ASCII scheme?
Explanation: There are 128 characters defined in the C++ ASCII list.
Which is correct with respect to the size of the data types?
Explanation: The char has less bytes than int and int has less bytes than double whereas int and float can potentially have same sizes.
What is the index number of the last element of an array with 9 elements?
Explanation: Because the first element always starts at 0. So it is on 8 position.
Which reference modifier is used to define the reference variable?
Explanation: & aka ‘ampersand’ used to define a reference variable.
The void pointer can point to which type of objects?
Explanation: Because it doesn’t know the type of object it is pointing to, So it can point to all objects.
What will be used when terminating a structure?
Explanation: Variables declared inside a class are called as data elements or data members.
What will be used when terminating a structure?
Explanation: While terminating a structure, a semicolon is used to end this up.
The if..else statement can be replaced by which operator?
Explanation: In the conditional operator, it will predicate the output using the given condition.
The destination statement for the goto label is identified by what label?
Explanation:
In which of the following we cannot overload the function?
Explanation: While overloading the return function, it will rise a error, So we can’t overload the return function.
Microsoft Office
Computer Introduction
Operating System Introduction
MS Office Tools and its uses
MS Word
MS Excel
MS Powerpoint
Double Entry System of Accounting
Types of Accounts
The Golden Rules of Accounting
Source Documents for Accounting
Recording of Business Transactions
The Accounting Equation
Recording of Transactions in Books of Original Entry/Journal