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 of the following are not the advantages of class templates in C++?

Options

I. One C++ class template can handle different types of parameters
II. Testing and debugging efforts are reduced
III. It allows the process of instantiation
IV. None of the above

Answer : d) None of the above
Posted By:Adalrich Fischer      Posted On: Apr 24

C++ Programming
Comments: 0

Write an algorithm for Inserting an element from the circular queue using array in dfs.

PROCEDURE CQINSERT(QUEUE, F, R, item,N)
[Inserts ‘item’ into the ‘queue’, ‘F’ is the Front end pointer and ‘R’ is the rare end pointer and ‘N’ is the number of elements in queue]

1. [Reset rare pointer]

if (R = N)
then R <-- 1
else
...
Posted By:Bradley Evans      Posted On: Apr 24

C++ Programming
Comments: 0

Which of the following statements does correctly describe the casting operator function?

Options

a) It must not specify return type
b) It must be a class member
c) It must not have any arguments
d) All of the above

Answer : d) All of the above
Posted By:Luiginw Fischer      Posted On: Apr 23

Assembly Language
Comments: 0

Which Stack is used in 8085?

LIFO (Last In First Out) stack is used in 8085.In this type of Stack the last stored information can be retrieved first.
Posted By:Mohammad Evans      Posted On: Apr 22

Assembly Language
Comments: 0

Define HRQ?

The hold request output requests the access of the system bus. In non- cascaded 8257 systems, this is connected with HOLD pin of CPU. In cascade mode, this pin of a slave is connected with a DRQ input line of the master 8257, while that of the master...
Posted By:Jack Evans      Posted On: Apr 22

Assembly Language
Comments: 0

What is loader?

The loader copies the program into the computer’s main memory at load time and begins the program execution at execution time.
Posted By:Eva Hughes      Posted On: Apr 22

C++ Programming
Comments: 0

Which of the following are not the advantages of class templates in C++?

Options

I. One C++ class template can handle different types of parameters
II. Testing and debugging efforts are reduced
III. It allows the process of instantiation
IV. None of the above

Answer : d) None of the above
Posted By:Adalrich Fischer      Posted On: Apr 24

C++ Programming
Comments: 0

Write an algorithm for Inserting an element from the circular queue using array in dfs.

PROCEDURE CQINSERT(QUEUE, F, R, item,N)
[Inserts ‘item’ into the ‘queue’, ‘F’ is the Front end pointer and ‘R’ is the rare end pointer and ‘N’ is the number of elements in queue]

1. [Reset rare pointer]

if (R = N)
then R <-- 1
else
...
Posted By:Bradley Evans      Posted On: Apr 24

C++ Programming
Comments: 0

Which of the following statements does correctly describe the casting operator function?

Options

a) It must not specify return type
b) It must be a class member
c) It must not have any arguments
d) All of the above

Answer : d) All of the above
Posted By:Luiginw Fischer      Posted On: Apr 23

Assembly Language
Comments: 0

Which Stack is used in 8085?

LIFO (Last In First Out) stack is used in 8085.In this type of Stack the last stored information can be retrieved first.
Posted By:Mohammad Evans      Posted On: Apr 22

Assembly Language
Comments: 0

Define HRQ?

The hold request output requests the access of the system bus. In non- cascaded 8257 systems, this is connected with HOLD pin of CPU. In cascade mode, this pin of a slave is connected with a DRQ input line of the master 8257, while that of the master...
Posted By:Jack Evans      Posted On: Apr 22

Assembly Language
Comments: 0

What is loader?

The loader copies the program into the computer’s main memory at load time and begins the program execution at execution time.
Posted By:Eva Hughes      Posted On: Apr 22

  69  70  71  72  73  74  75  76  77  78  79