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 is not true about the code segment given below?

Which of the following is not true about the code segment given below?

float sample :: operator +(float x) {// code }

Options

a) It receives only one float type argument explicitly
b) It returns a float type value
c) It is a member functio...
Posted By:Adalrich Fischer      Posted On: Jan 14

C++ Programming
Comments: 0

Which of the following statement(s) is true according to the following statement? p=*ptr;

Options

a) p must be a pointer variable
b) The value of ptr is assigned to the variable p
c) The address of the pointer ptr is assigned to the variable p
d) The value of the variable that the pointer ptr is pointing to is assigned to the variab...
Posted By:Bethany Hughes      Posted On: Jan 13

Assembly Language
Comments: 0

Mention the categories of instruction and give two examples for each category.

The instructions of 8085 can be categorized into the following five categories
- Data transfer Instructions -MOV Rd,Rs STA 16-bit
- Arithmetic
- Instructions -ADD R DCR M
- Logical
- Instructions -XRI 8-bit RAR
- Branching
- Instructions -JNZ ...
Posted By:Kai Evans      Posted On: Jan 12

Assembly Language
Comments: 0

What is the function of DMA address register?

Each DMA channel has one DMA address register. The function of this register is to store the address of the starting memory location, which will be accessed by the DMA channel. Thus the starting address of the memory block that will be accessed by th...
Posted By:Jack Bouchard      Posted On: Jan 11

Assembly Language
Comments: 0

Explain the purpose of the I/O instructions IN and OUT.

The IN instruction is used to move data from an I/O port into the accumulator. The OUT instruction is used to move data from the accumulator to an I/O port. The IN & OUT instructions are used only on microprocessor, which use a separate address space...
Posted By:Lois Schmidt      Posted On: Jan 10

C++ Programming
Comments: 0

What is Insertion Sort in dfs (data file structure)?

This sorting technique is very easy. In this, we sort the array taking into consideration the concept of insertion. If the first element is greater than the second, then we interchange them. Then we check the third element if it is smaller than th...
Posted By:Poppy Brown      Posted On: Jan 10

C++ Programming
Comments: 0

Which of the following is not true about the code segment given below?

Which of the following is not true about the code segment given below?

float sample :: operator +(float x) {// code }

Options

a) It receives only one float type argument explicitly
b) It returns a float type value
c) It is a member functio...
Posted By:Adalrich Fischer      Posted On: Jan 14

C++ Programming
Comments: 0

Which of the following statement(s) is true according to the following statement? p=*ptr;

Options

a) p must be a pointer variable
b) The value of ptr is assigned to the variable p
c) The address of the pointer ptr is assigned to the variable p
d) The value of the variable that the pointer ptr is pointing to is assigned to the variab...
Posted By:Bethany Hughes      Posted On: Jan 13

Assembly Language
Comments: 0

Mention the categories of instruction and give two examples for each category.

The instructions of 8085 can be categorized into the following five categories
- Data transfer Instructions -MOV Rd,Rs STA 16-bit
- Arithmetic
- Instructions -ADD R DCR M
- Logical
- Instructions -XRI 8-bit RAR
- Branching
- Instructions -JNZ ...
Posted By:Kai Evans      Posted On: Jan 12

Assembly Language
Comments: 0

What is the function of DMA address register?

Each DMA channel has one DMA address register. The function of this register is to store the address of the starting memory location, which will be accessed by the DMA channel. Thus the starting address of the memory block that will be accessed by th...
Posted By:Jack Bouchard      Posted On: Jan 11

Assembly Language
Comments: 0

Explain the purpose of the I/O instructions IN and OUT.

The IN instruction is used to move data from an I/O port into the accumulator. The OUT instruction is used to move data from the accumulator to an I/O port. The IN & OUT instructions are used only on microprocessor, which use a separate address space...
Posted By:Lois Schmidt      Posted On: Jan 10

C++ Programming
Comments: 0

What is Insertion Sort in dfs (data file structure)?

This sorting technique is very easy. In this, we sort the array taking into consideration the concept of insertion. If the first element is greater than the second, then we interchange them. Then we check the third element if it is smaller than th...
Posted By:Poppy Brown      Posted On: Jan 10

  84  85  86  87  88  89  90  91  92  93  94