int num = 10;
int sum;
sum = ++num + num++ + --num + num--;
cout << sum << endl;
What is the switch statement also called?
Which are not full container classes in C++?
#include <iostream>
#include <string>
using namespace std;
int main()
{
cout<<is_same<int,char>::value;
cout<<is_same<char[10], char[10]>::value;
cout<<is_same<char*[10], string>::value;
return 0;
}
What is the concept of polymorphism in object-oriented programming (OOP)?
What is meant by a sequence point in programming?
What will be the output of the following C++ code?
#include <iostream>
#include <any>
#include <string>
using namespace std;
int main()
{
string s = "Hello World";
any var(s);
cout << any_cast<string>(var) << endl;
return 0;
}
Which of the following statement will be correct if the function has three arguments passed to it ?
Which one of the following is correct about the statements given below?