How many parameters can a string's resize method take?
What will be the result of cout << (ans == 8); if ans is initially 6?
The maximum number of parameters that can be passed to a string constructor is
Which of the following is not a non-modifying sequence algorithm?
In c++ ,inline functions are expanded during
Which of the following correctly declares an array?
Which is more effective while calling the functions?
Given the following code:
a=5, b=3;
if(a > b)
{
c=a;
a=b;
}
else
{
c=b;
b=a;
}
What will be the value of c?
What will be the output of the following C code?
#include <stdio.h>
int main()
{
int var = 010;
printf("%d", var);
}
What will be the output of the following C++ code?
#include <iostream>
#include <utility>
using namespace std;
int main()
{
pair<int,int> p(1,2);
cout << "Pair(first,second) = (" << p.first << "," << p.second << ")
";
return 0;
}