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

Write an algorithm for Insertion Sort in dfs (data file structure).

1. [Initialization]
temp
key =0 and tamp sortarray [ctr+1] <-- sortarray [ctr]
ctr--
sortarray [ctr+1] <-- temp
key++.
Posted By:Lurlene Fischer      Posted On: Dec 11

Assembly Language
Comments: 0

What is linker?

A linker is a program used to join together several object files into one large object file. For large programs it is more efficient to divide the large program modules into smaller modules. Each module is individually written, tested & debugged. Whe...
Posted By:Reiner Fischer      Posted On: Dec 10

C++ Programming
Comments: 0

Which statement(s) is NOT true about catch (…) statement? - Select option

I. All the throws are not caught by catch (…) statement
II. Catch (…) statement should always be placed last in the list of handlers. Placing it before other catch blocks would prevent those blocks from catching exceptions
III. All the throws are ...
Posted By:Rae Fischer      Posted On: Dec 08

C++ Programming
Comments: 0

What is the output of the below code?

Consider the following code segment:
int main()
{
int x, *x_ptr=&x;
x=5;
x_ptr=NULL;
cout 0
b) but addresses are same
c) but having different addresses
d) 5

Answer : a) 0
Posted By:Mina Schmidt      Posted On: Dec 06

C++ Programming
Comments: 0

Which of the following statements do correctly describe the characteristics of constructors?

I. They cannot be inherited
II. They cannot be virtual
III. They need not be declared in the public section
IV. We cannot refer to their addresses

Options

a) Both I and II
b) I, II, and IV
c) Both II and III
d) I, III and IV

Answer : ...
Posted By:Reuben Brown      Posted On: Dec 06

Assembly Language
Comments: 0

What is interrupt service routine?

Interrupt means to break the sequence of operation. While the CPU is executing a program an interrupt breaks the normal sequence of execution of instructions & diverts its execution to some other program. This program to which the control is transfer...
Posted By:Aloisa Miller      Posted On: Dec 05

C++ Programming
Comments: 0

Write an algorithm for Insertion Sort in dfs (data file structure).

1. [Initialization]
temp
key =0 and tamp sortarray [ctr+1] <-- sortarray [ctr]
ctr--
sortarray [ctr+1] <-- temp
key++.
Posted By:Lurlene Fischer      Posted On: Dec 11

Assembly Language
Comments: 0

What is linker?

A linker is a program used to join together several object files into one large object file. For large programs it is more efficient to divide the large program modules into smaller modules. Each module is individually written, tested & debugged. Whe...
Posted By:Reiner Fischer      Posted On: Dec 10

C++ Programming
Comments: 0

Which statement(s) is NOT true about catch (…) statement? - Select option

I. All the throws are not caught by catch (…) statement
II. Catch (…) statement should always be placed last in the list of handlers. Placing it before other catch blocks would prevent those blocks from catching exceptions
III. All the throws are ...
Posted By:Rae Fischer      Posted On: Dec 08

C++ Programming
Comments: 0

What is the output of the below code?

Consider the following code segment:
int main()
{
int x, *x_ptr=&x;
x=5;
x_ptr=NULL;
cout 0
b) but addresses are same
c) but having different addresses
d) 5

Answer : a) 0
Posted By:Mina Schmidt      Posted On: Dec 06

C++ Programming
Comments: 0

Which of the following statements do correctly describe the characteristics of constructors?

I. They cannot be inherited
II. They cannot be virtual
III. They need not be declared in the public section
IV. We cannot refer to their addresses

Options

a) Both I and II
b) I, II, and IV
c) Both II and III
d) I, III and IV

Answer : ...
Posted By:Reuben Brown      Posted On: Dec 06

Assembly Language
Comments: 0

What is interrupt service routine?

Interrupt means to break the sequence of operation. While the CPU is executing a program an interrupt breaks the normal sequence of execution of instructions & diverts its execution to some other program. This program to which the control is transfer...
Posted By:Aloisa Miller      Posted On: Dec 05

  17  18  19  20  21  22  23  24  25  26  27