C++ Programming
Description: This test consists of 25 questions about C++ programming language. | |
Number of Questions: 25 | |
Created by: Shaka Gupte | |
Tags: C Programming Java/Oracle /C/C++ |
Which of the following string functions in C++ returns a pointer to the first occurrence of character in string and returns NULL, if the specified character is not found in the string?
Which of the following operators is/are used to merge two tokens in C++ preprocessor?
Which of the following operators cannot be overloaded in C++?
Which of the following modifiers can be applied to char data types in C++?
What is/are the advantage(s) of using new operator over malloc() in C++?
Which of the following statements is/are false about virtual function in C++?
What is the role of friend function in C++?
Which of the following statements show(s) the difference between the class and structure in C++?
Which of the following is/are predefined C++ macro(s)?
Which of the following modes of the open() function in C++ file handling defines that all the output to the file is to be appended to the end?
What is/are the role(s) of mutable variable in C++?
Which of the following is/are false about typedef keyword in C++?
Which of the following statements is false?
If a class is defined with the name 'A', then what will be the valid declaration(s) for the constructor of the class?
Which of the following statements is/are false?
Which of the following header files defines the standard error stream (cerr) object in C++ language?
Which of the following variables are called global variables in C++?
What will be the output of the following code? int main{ const int x = 1; x++; }
Which of the following statements is/are not true about inheritance in C++?
Which of the following modifiers allow(s) negative value in C++?
Which of the following is not true about inline function in C++?
Which of the following is/are the limitation(s) of inline function in C++?
Which of the following statements is/are not true?
Which of the following is/are not the built-in data type(s) in C++?
Which of the following statements is/are true about namespace in C++?