V
Q. Which of the following statements is true about C++ classes?
In C++, a class can contain both data members and member functions.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Identify the valid integer from the following:
Q. What is the output of the following code in C++? int a = 10; int b = 3; cout << a % b;
Q. Code reuse can be achieved in a C++ program using ______.
Q. What is the result of the following expression in C++: '5 / 2'?
Q. What is used to write/display to the console in C++?
Q. Write the range of value of the data type ‘int’
Q. Default return type of functions in CPP is ____ .
Q. What is the purpose of the 'new' keyword in C++?
Q. ‐‐‐‐‐‐‐‐ are normally used to maintain values common to the entire class.
Q. What is the output of the following code snippet? int x = 10; int y = 20; cout << (x |= y);
Discusssion
Login to discuss.