- •Vector can change the length, array can't
- •Initalize the objects
- •In which type does the enumerators are stored by the compiler?
- •Void pointer can point to which type of objects?
- •In swap 105 In main 510
- •8, Memory address
- •In swap 105 In main 105
- •Void doesn’t return;
- •Int anarray[2][2];
- •Int anarray[10];
- •Int anarray[20][20];
- •Ifstream
- •Ios::create
- •Inline void foo() {}
Void pointer can point to which type of objects?
all of the mentioned
What does “cerr” command mean?
Standard error stream
What signs ends most lines of code in C ++? semi-colon
What the operator does not allow the transition from one to another constant expression? break
What will be in output:
0.1.2
What will be the variable a equal to after this code
9
What will be the result of the operators:
x=4
What will be in output:

32
27
What will be in output:

Total of array elements: 849
What will be output after this code:
8
10;
What will be the output?
0
What does this code output?

What will be output?
2
8 3 4
What will be the output?
8
What is the output of this program?
10
What is the output of this program?
In swap 105 In main 510
What is the output of this program?
2812
What error would the following function five on compilation?

Redeclaration of a
What will be the value returned by the following function, when it is called with a value 11?
1011
What is the output of this program?


What is the output?

310;
What is the output?
120;
What will be output of this code?
area:
12
What will be output of this code?

area: 1
What will be output of this code?

There will be an error.
What will be output of this code?
area:
25
What will be output of this code?

area: 0
What is the difference between array and structure?
a) only in their declaration
b) they haven't any differences
c) structure can include members of different types of data
d) structures are more powerful
e) array incudes only integers
What kind of library has vector:
#include <vector.h>
What cycles are useful for input-output and processing in arrays:
for, while
What does this code output?
1
0 4 0 0
What associativity and type has this symbol “&&”:
left to right, logical AND
What is the X?

array element;
What type of access have class members by default?
Private
What does ios::ate mean as an argument to ofstream?.
Open file, set the position to the end.What header file contains C++ file I/O instructions? fstream.h
What value must a destructor return?
Destructors do not return a value.
What is the final value of x after performing the following operations?
8.
What is the result of the following code?
ZeroHello
World
What purpose do classes serve? all of the above
What does your class can hold? both a & b
What is required to avoid falling through from one case to the next? break;
What is the return type of the function with prototype: "int func(char x, float v, double int
What is the correct value to return to the operating system upon the successful completion of a program? 0
What is the output of this program?
execute
What is the correct way to print integer sum to the screen?
cout<<sum<<endl;
What is the correct way to print integer sum to the screen?
cout<<sum<<endl;
What is the difference between classes and structures?
structures have only public access specifier
What is the output of the following program?
213
What is the output of this program?
10
What is the output of this program?
6
What is the output of this program?
10
10
What is the output of this program?
