When a language has the capability to produce new data type mean, it can be called as
0946, 786427373824, ‘x’ and 0X2f are _____, _____, ____ and _____ literals respectively
-
-
-
-
Implementation dependent aspects about an implementation can be found in ____
Which one of the following is not a fundamental data type in C++
The conditional compilation
Which of the following library function below by default aborts the program?
The data elements in structure are also known as what?
Which of three sizes of floating point types should be used when extended precision is required?
What is the output of the following program? 1.#include
2.using namespace std;
3.int main()
4.{
5.int x = -1;
6.unsigned int y = 2;
7.if(x > y) {
8.cout << "x is greater";
9.} else {
10.cout << "y is greater";
11.}
12.}
Which datatype is used to represent the absence of parameters?
Which looping process checks the test condition at the end of the loop?
What is the output of this program?
1.#include
2.using namespace std;
3.int main()
4.{
5.int *p;
6.void *vp;
7.if (vp == p);
8.cout << "equal";
9.return 0;
10.}
What would be the output of the following program (in 32-bit systems)? 1.#include
2.using namespace std;
3.int main()
4.{
5.cout << sizeof(char);
6.cout << sizeof(int);
7.cout << sizeof(float);
8.return 0;
9.}
If the class name is X, what is the type of its “this” pointer (in a nonstatic, non-const member function)?
What is the value of the following 8-bit integer after all statements are executed?
int x = 1;
x = x << 7;
x = x >> 7;
What is the output of this program? 1.#include
2.using namespace std;
3.int main()
4.{
5.int a = 10;
6.if (a < 10) {
7.for (i = 0; i < 10; i++)
8.cout << i;
9.}
10.else {
11.cout << i;
12.}
13.return 0;
14.}
What is the output of this program? 1.include
2.using namespace std;
3.int main()
4.{
5.int a = 9;
6.int & aref = a;
7.a++;
8.cout << "The value of a is " << aref;
9.return 0;
10.}
Evaluate the following. (false && true) || false || true
What is the output of this program? 1.#include
2.using namespace std;
3.int main()
4.{
5.int i;
6.char *arr[] = {"C", "C++", "Java", "VBA"};
7.char *(*ptr)[4] = &arr;
8.cout << ++(*ptr)[2];
9.return 0;
10.}
Which type is best suited to represent the logical values?
What we can’t do on a void pointer?
Identify the incorrect statement
Identify the incorrect option.
Which of the following accesses the seventh element stored in array?
Size of C++ objects are expressed in terms of multiples of the size of a ____ and the size of a char is ____.
Which of the following correctly declares an array?
Which looping process is best used when the number of iterations is known?
What constant defined in header returns the number of bits in a char?
Which of the following operators can be overloaded?
What is the Difference between struct and class in terms of Access Modifier?
What does a escape code represent?
How many copies of a class static member are shared between objects of the class?
Which of the following language feature is not an access specifier in C++?
Which of the following statements are false?
When is std::bad_alloc exception thrown?