What is the range of values for an 'unsigned long int' data type in C++?
Select an option to see the answer and solution.
What is the correct way to declare a pointer to a character in C++?
Select an option to see the answer and solution.
What does the 'volatile' keyword indicate in C++?
Select an option to see the answer and solution.
What is the output of the following code: cout << (true && true); in C++?
Select an option to see the answer and solution.
Which type is best suited to represent the logical values?
Select an option to see the answer and solution.
What will be the output of the following C++ function?
int main()
{
register int i = 1;
int *ptr = &i;
cout << *ptr;
return 0;
}
Select an option to see the answer and solution.
What is the value of the bool?
bool is_int(789.54)
Select an option to see the answer and solution.
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main()
{
char c = 74;
cout << c;
return 0;
}
Select an option to see the answer and solution.
Evaluate the following.
(false && true) || false || true
Select an option to see the answer and solution.
The size_t integer type in C++ is?
Select an option to see the answer and solution.
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main()
{
int a = 10;
if (a < 10)
{
for (i = 0; i < 10; i++)
cout << i;
}
else
{
cout << i;
}
return 0;
}
Select an option to see the answer and solution.
What happens when a null pointer is converted into bool?
Select an option to see the answer and solution.
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main()
{
float i = 123.0f;
cout << i << endl;
return 0;
}
Select an option to see the answer and solution.
Pick the odd one out.
Select an option to see the answer and solution.
How many characters are specified in the ASCII scheme?
Select an option to see the answer and solution.
Choose the correct option.
extern int i;
int i;
Select an option to see the answer and solution.
Which is used to indicate single precision value?
Select an option to see the answer and solution.
0946, 786427373824, 'x' and 0X2f are . . . . . . . . and . . . . . . . . literals respectively.
Select an option to see the answer and solution.
In which type do the enumerators are stored by the compiler?
Select an option to see the answer and solution.
The value 132.54 can be represented using which data type?
Select an option to see the answer and solution.