You are on page 1of 4

What is the size of a far pointer?

1. 2. 3. 4.

1 byte. 2 bytes 3 bytes 4 bytes

What is the output of following C++ code ?#include <stdio.h>int main(){ (b=2,b+3); printf(%d,a); return 0;}

int a,b;

a=

1. 2. 3. 4.

2. Garbage Value. 5 None of the above.

Which of the following is not a reserved word in Standard C++?

1. 2. 3. 4.

Inline. Continue. Return. Overload.

uestion 4 of 11 |
Which of the following can be used to represent hierarchical relationship between elements?

1. 2.

Dequeue Array

3. 4.

Tree All of these

Question 5 of 11 |
Which of the following is not a looping statement in c++?

1. 2. 3. 4.

While For Until Do

Question 6 of 11 |
Which of the following data types is not defined in Standard C++?

1. 2. 3. 4.

Char Int Real Bool

What will be the output of following program ?#include <cstdlib> #include <iostream> using namespace std; int main() { int k =1; for(int i=1;i<=1;i++)

printf(%d,k++); printf(%d,k); system(PAUSE); return 0; }

Which of the following is not a relational operator?

1. 2. 3. 4. 5.

> < >= += None of these

Question 9 of 11 |
What is the functionality of break statement?

1. 2. 3. 4.

To exit from the program. To exit from the loop. To end the current iteration and jump to the next iteration. None of these

Question 10 of 11 |

How many different trees are possible with nine nodes?

1. 2. 3. 4.

1014 1013 503 511

Which of the following is possible number of nodes in complete binary tree?

1. 2. 3. 4.

8 15 17 21