Logo 
Search:

cpp Interview FAQs

Submit Interview FAQ
No Records Found!!!
Go Ahead and Post your Interview FAQ
Home » Interview FAQs » cppRSS Feeds
C++ Programming
Comments: 0

Which is required to overload an operator in C++?

Options

a) operator function
b) built-in function
c) Both a and b
d) None of the above

Answer : a) operator function
Posted By:Herberta Miller      Posted On: Sep 26

C++ Programming
Comments: 0

a = (b = 5); The C++ statement is an example of which option

Options

a) Compound assignment
b) Embedded assignment
c) Chained assignment
d) Multiple assignment

Answer : c) Chained assignment
Posted By:Ludwik Fischer      Posted On: Sep 26

Javascript
Comments: 0

What is semi-random or indexed sequential file organizations in dfs (data file structure)?

Semi-Random file organization is an organization in which there is reference for the major records so we can access them directly but for sub record there is no reference so we have to follow sequential approach for them.
Posted By:Maria Silva      Posted On: Sep 26

Assembly Language
Comments: 0

What are the different types of write operations used in 8253?

There are two types of write operations in 8253
(1) Writing a control word register
(2) Writing a count value into a count register

The control word register accepts data from the data buffer and initializes the counters, as required. The contr...
Posted By:Adela Fischer      Posted On: Sep 25

C++ Programming
Comments: 0

Write an algorithm for Sequential Search in dfs (data file structure).

1. Initialize searcharray, searchno, length.

2. Initialize pos=0.

3. Repeat step 4 till pos<=length.

4. if searcharray[pos]=searchno
return pos
else
increment pos by 1.
Posted By:Billy Fischer      Posted On: Sep 21

C++ Programming
Comments: 0

Which is true, if a derived class is publicly inherited from base class?

I. The public members of the base class become public members of the derived class
II. The public members of the base class become private members of the derived class
III. The public members of the base class are inaccessible to the objects of the...
Posted By:Charlie Evans      Posted On: Sep 19

C++ Programming
Comments: 0

Which is required to overload an operator in C++?

Options

a) operator function
b) built-in function
c) Both a and b
d) None of the above

Answer : a) operator function
Posted By:Herberta Miller      Posted On: Sep 26

C++ Programming
Comments: 0

a = (b = 5); The C++ statement is an example of which option

Options

a) Compound assignment
b) Embedded assignment
c) Chained assignment
d) Multiple assignment

Answer : c) Chained assignment
Posted By:Ludwik Fischer      Posted On: Sep 26

Javascript
Comments: 0

What is semi-random or indexed sequential file organizations in dfs (data file structure)?

Semi-Random file organization is an organization in which there is reference for the major records so we can access them directly but for sub record there is no reference so we have to follow sequential approach for them.
Posted By:Maria Silva      Posted On: Sep 26

Assembly Language
Comments: 0

What are the different types of write operations used in 8253?

There are two types of write operations in 8253
(1) Writing a control word register
(2) Writing a count value into a count register

The control word register accepts data from the data buffer and initializes the counters, as required. The contr...
Posted By:Adela Fischer      Posted On: Sep 25

C++ Programming
Comments: 0

Write an algorithm for Sequential Search in dfs (data file structure).

1. Initialize searcharray, searchno, length.

2. Initialize pos=0.

3. Repeat step 4 till pos<=length.

4. if searcharray[pos]=searchno
return pos
else
increment pos by 1.
Posted By:Billy Fischer      Posted On: Sep 21

C++ Programming
Comments: 0

Which is true, if a derived class is publicly inherited from base class?

I. The public members of the base class become public members of the derived class
II. The public members of the base class become private members of the derived class
III. The public members of the base class are inaccessible to the objects of the...
Posted By:Charlie Evans      Posted On: Sep 19

  29  30  31  32  33  34  35  36  37  38  39