D
Q. What is the output of the following C++ code?
#include <iostream> using namespace std; class A { int s; public: #define ABC(A::s) }; int main(int argc, char const *argv[]) { cout << "Hello world"; return 0; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Which of the following is a mechanism of static polymorphism?
Q. Which of the following are NOT provided by the compiler by default?
Q. The class that is not used to create object
Q. Which of the following is true about function templates in C++?
Q. What is the index of the last element having 9 elements?
Q. What is the built in library function to compare two strings?
Q. Which of the following is the correct way to define a function with a lambda expression in C++?
Q. Which of the following C++ features allows a class to inherit from another class?
Discusssion
Login to discuss.