Q101
Open questionHow many Sequence Containers are provided by C++?
Select an option to see the answer and solution.
Practice every MCQ with options. Use Show answers when you want the correct option and solution.
109
Questions
6/6
Page
Pick an option on a question to see the right answer and solution.
Q101
Open questionSelect an option to see the answer and solution.
Q102
Open question#include <iostream>
using namespace std;
int main()
{
char* ptr;
unsigned long int a = (size_t(0) / 3);
cout << a << endl;
try
{
ptr = new char[size_t(0) / 3];
delete[ ] ptr;
}
catch(bad_alloc &thebadallocation)
{
cout << thebadallocation.what() << endl;
};
return 0;
}Select an option to see the answer and solution.
Q103
Open question#include <stdio.h>
#include <math.h>
int main ()
{
int param, result;
int n;
param = 8.0;
result = frexp (param , &n);
printf ("%d \n", param);
return 0;
}Select an option to see the answer and solution.
Q104
Open questionSelect an option to see the answer and solution.
Q105
Open question#include <stdio.h>
#include <math.h>
int main ()
{
printf ("%lf", pow (7.0,3));
return 0;
}Select an option to see the answer and solution.
Q106
Open questionSelect an option to see the answer and solution.
Q107
Open questionSelect an option to see the answer and solution.
Q108
Open questionSelect an option to see the answer and solution.
Q109
Open question#include <stdio.h>
#include <math.h>
int main ()
{
printf ("%lf", fabs (-10.6) );
return 0;
}Select an option to see the answer and solution.