Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Where does the vector add the item?
Correct Answer is : True 0
2. Which are not full container classes in c++?
Correct Answer is : hello world
3. What is the lifetime of the element in container?
Correct Answer is : 8
4. How many ways of passing a parameter are there in c++?
Correct Answer is : Ixigo
5. Which is used to keep the call by reference value as intact?
Correct Answer is : abc
6. By default how the value are passed in c++?
Correct Answer is : 45385
7. What is the new value of x?
#include using namespace std; void fun(int &x) { x = 20; } int main() { int x = 10; fun(x); cout << "New value of x is " << x; return 0; }
Correct Answer is : String()
8. What will happen when we use void in argument passing?
Correct Answer is : value less than zero
9. Which of the header file is used for array type manipulation?
Correct Answer is : StartsWith()
10. What is the use of is_array() function in C++?
Correct Answer is : Substring()
11. What is the output of the following C++ code?
#include
#include
using namespace std;
int main()
{
cout<::value;
cout<::value;
cout<::value;
return 0;
}
Correct Answer is : one two
12. What is the use of is_same() function in C++?
Correct Answer is : Trim()
13. What is the output of the following C++ code?
#include
#include
using namespace std;
int main()
{
cout<::value;
cout<::value;
cout<::value;
return 0;
}
Correct Answer is : “Hello World”
14. What is the use of rank() function in C++?
Correct Answer is : CSHALP
15. What is the output of the following C++ code?
#include
#include
using namespace std;
int main()
{
cout<::value;
cout<::value;
cout<::value;
return 0;
}
Correct Answer is : Hell
16. Which of the following is correct about extent() function?
Correct Answer is : 45391
17. What is the output of the following C++ code?
#include
#include
using namespace std;
int main()
{
cout<::value;
cout<::value;
cout<::value;
return 0;
}
Correct Answer is : FALSE
18. Which of the following is correct about remove_extent() function?
Correct Answer is : zy
19. What is the output of the following C++ code?
#include
#include
using namespace std;
int main()
{
cout<::type>::value;
cout<::type>::value;
return 0;
}
Correct Answer is : 38785
20. Which of the following is correct about remove_all_extents() function?
Correct Answer is : The structure variable ‘b’ will be created on the stack