What is the output of the following program? 1.#include
2.using namespace std;
3.int main()
4.{
5.float i = 123.0f;
6.cout << i << endl;
7.return 0;
8.}
Which of the following is not a component of file system
Which of the following keyword supports dynamic method resolution?
What is the size of wchar_t in C++?
96. The output of this program is int main () { cout << "Hello World!" return 0; }
Choose the right option. string* x, y;
What is the output of the following program? 1.#include
2.using namespace std;
3.int main()
4.{
5.int a = 5;
6.float b;
7.cout << sizeof(++a + b);
8.cout << a;
9.return 0;
10.}
Which of the following below is /are a valid iterator type?
Which of the following operator cannot be overloaded?
Choose the incorrect option
What we can’t do on a void pointer?
Which is used to indicate single precision value?
When class B is inherited from class A, what is the order in which the constructers of those classes are called
Which of the following is not a valid conditional inclusions in preprocessor directives
In C++, what is the sign of character data type by default?
Identify the incorrect option.
What is the index number of the last element of an array with 9 elements?
Which of the following is not recommended in a header file?
Which of the following operators can be overloaded?
If a member needs to have unique value for all the objects of that same class, declare the member as
Inline functions are invoked at the time of
What is the output of the following program? 1.#include
2.using namespace std;
3.int main()
4.{
5.int num1 = 10;
6.float num2 = 20;
7.cout << sizeof(num1 + num2);
8.return 0;
9.}
Which one of the following is not a valid reserved keyword in C++
0946, 786427373824, ‘x’ and 0X2f are _____, _____, ____ and _____ literals respectively
-
-
-
-
What is the output of this program? 1.#include
2.int main()
3.{
4.char a = '\012';
5. printf("%d", a);
6.return 0;
7.}
Identify the incorrect statement
When a language has the capability to produce new data type mean, it can be called as
What are the parts of the literal constants?
What is the output of the following program? 1.#include
2.using namespace std;
3.int main()
4.{
5.int num = 0x20 + 020 + 20;
6.cout << sizeof(num)<<'\n';
7.return 0;
8.}
What is the output of this program? 1.#include
2.using namespace std;
3.int main()
4.{
5.int a = 5, b = 10, c = 15;
6.int arr[3] = {&a, &b, &c};
7.cout << *arr[*arr[1] - 8];
8.return 0;
9.}
‘Prime area’ in context of file system is defined as
Which of the following statements are false?
Select the right option.
Given the variables p, q are of char type and r, s, t are of int type. 1.t = (r * s) / (r + s);
2. t = (p * q) / (r + s);
Which datatype is used to represent the absence of parameters?
Originally ‘C’ was developed as:
Which of the following is the most common way of implementing C++?
Which looping process checks the test condition at the end of the loop?